Thank you so much. I got it transparent, as you suggested, with the following
code that I added to the end.
Code:
osg::StateSet* set = geode->getOrCreateStateSet();
set->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
set->setAttributeAndModes(new osg::BlendFunc(GL_SRC_ALPHA
,GL_ONE_MINUS_SRC_ALPHA), osg::StateAttribute::ON);
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45103#45103
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org