Hi Gianni, On my project, we are using OSG 2.8.3, and we combine the osg::StateAttribute::OVERRIDE flag with osg::StateAttribute::ON.
You might try: [code] root->getOrCreateStateSet()->setAttribute(material, osg::StateAttribute::OVERRIDE|osg::StateAttribute::ON); [/code] That combination seems to work for us. I hope this helps... D.J. On Thu, Oct 27, 2011 at 10:39 AM, Gianni Ambrosio <[email protected]>wrote: > Hi, > great, third topic without any reply. It seems the forum works fine. > > Thank you! > Gianni > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=43597#43597 > > > > > > _______________________________________________ > 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

