Hi,

I tried to draw a lot of points, and each point has a color and transparency. 
But the result is not the expected. When look from the front side of the 
geometry, the result is dark and not transparent. While look from the back 
side, it is right.

Code:
osg::StateSet* st = geom->getOrCreateStateSet();
        st->setMode(GL_BLEND, osg::StateAttribute::ON);
        st->setRenderingHint(osg::StateSet::TRANSPARENT_BIN);


Does anybody know what the problem is?
Thank you!

Cheers,
Vincent[/code]

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





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

Reply via email to