Wyatt Earp wrote:
I am working on this now and another question has arisen.  How do I apply
different shaders for different render passes.

For example, I want one set of shaders to be in effect when I render to
texture, but a different set of shaders for the other camera(s), which will
use the texture from the RTT camera. Do I attached my stateset with the shaders directly to each camera node?

Yes. Shaders are state just like any other state.
   -Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to