Hello everyone:

how to do point attenuation?
I have some code like:

Code:

osg::PolygonMode *pm = new osg::PolygonMode(
187                 osg::PolygonMode::FRONT_AND_BACK, osg::PolygonMode::POINT );
188             stateset->setAttributeAndModes( pm, osg::StateAttribute::ON | 
osg::StateAttribute::OVERRIDE);
189         }




After this how to set attenuation of points?

... 

Thank you!

Cheers,
Nan

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





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

Reply via email to