Hello, I have a osg::Node* that has applied a osg::StateSet*  with many
Attribute, in particular an osg::Material*.  When I try to switch the
stateset to another, no changes are visible.

I tried with

node->setStateSet(TheOtherStateSet);

and

osg::stateSet* tmp = node.getOrCreateStateSet();
tmp = TheOtherStateSet;


but it doesn't work correctly.

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

Reply via email to