Skip to main content
gamedev.net
🔒 Locked

Shader Efficiency

Started by Yratelev 1 reply 350+ views
Original Post
Yratelev
Yratelev
Hi, Im just starting to learn how to do shaders and im wondering; how much of a performance loss do i have by using them, and where does this loss appear (setting different shaders, running shaders etc) can u ever build a shader as fast as the fixed function pipeline? Yratelev
Yratelev
superdeveloper
superdeveloper
Probably the same speed as the FVF if you do it right, but it''s likely the FVF will be a bit faster..

The PRO is that for maybe a 10% speed hit against the FVF, using shaders can produce *any* effects you want, whether it is a special transformation (reducing the need for buffer locks), or pixel operation that you cannot normally achieve using the FVF.
Muhammad Haggag
Muhammad Haggag
- Modern ATI cards implement the Fixed-Function Pipeline using shaders. I'm not sure about the nVidia parts.

- Pre-GeforceFX GeForce cards that support shaders had dedicated hardware for FFP lighting. Using shaders to perform the *same* FFP functionality would be slower on these chips. Again, I'm not sure about the FX here.

Muhammad Haggag
Bitwise account: MHaggag -
[edit]Spelling[/edit]

[edited by - Coder on March 10, 2004 9:17:22 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.