I'm reading osglight.cpp, and in createLights() function where
osg::LightSource(lightS) set StatSet, here are two function:
lightS1->setLocalStateSetModes(osg::StateAttribute::ON);
lightS1->setStateSetModes(*rootStateSet,osg::StateAttribute::ON);
My question is what the function of the two StateSetModes, what is the
difference about these two functions? Thanks~~
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org