Hello Roman,

How can I switch off osg::Material from my model?

You could just traverse your whole graph, and on every node and drawable, do

nodeOrDrawable->getOrCreateStateSet()->removeAttribute(osg::StateAttribute::MATERIAL);

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to