Hi Steven, Added state to the slave Camera's StateSet "should" work. As to what might be wrong I can't say, way too many unkowns. Could you put together an simple example that reproduces this problem.
BTW, for examples of slave Camera's with their own StateSet have a look at the osgdistortion and src/osgViewer/View.cpp:View::setUpView*() codes. Robert. On Mon, Apr 21, 2008 at 8:00 PM, Steven Powers <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

