Some Background: 1 viewer multiple slave cameras (viwer->addSlave(..))

I'd like to add a shader that would get visited by only one of the
cameras. To do this I tried to add a state set to that camera with the
program loaded, turned on and protected.

This, however doesn't seem to work. Is there a way to add a state set to
a slave camera and have it be visited?

I figure I could set a nodemask on the stateset further down the
scenegraph but I'd rather come up with a better approach.

Thanks in advance.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to