Hi Mike,

Just a side question, is it still the case on modern video cards (like 
nVidia 8800 and up) that the GPU will execute both sides of an 
if-then-else statement and choose the right value when both are 
available? I just want to know if I'm better off making a really general 
shader that chooses which effects to do using uniform Booleans and ifs, 
or if I should make different shaders for each situation.

Thanks,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to