If you add a shader to an object it removes all of the effects of
OpenGL's fixed pipeline rendering. As a result if you want any of that
fixed pipeline rendering back (such as lighting, texture mapping etc.)
you will have to write an equivalent implementation within the shader.

K.


2009/8/4 Hadrien Thomas <[email protected]>:
> Good afternoon,
>
> It's me again ^^
>
> I tried some available shaders and i'm afraid that i don't understand at all 
> how it works.
>
> It blows away all the textures and the lighting. Am I supposed to put them in 
> the shaders?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=15777#15777
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to