Hi,

This might help you, you have to set the hint


Code:
        if (transparent)
        {
                geode->getOrCreateStateSet()->setMode(GL_BLEND, 
osg::StateAttribute::ON);
                
geode->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);
        }
        else
        {
                
geode->getOrCreateStateSet()->setRenderingHint(osg::StateSet::OPAQUE_BIN);
        }



Thank you!

Cheers,
Catalin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76285#76285





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to