Hi, Michael Alpha to coverage have any effect only when drawing to csaa or msaa multisampled render target or fb.
Cheers, Sergey. 06.07.2012, 03:00, "Michael Schanne" <michael.scha...@gmail.com>: > Alpha to coverage didn't have any visible effect, but using alpha testing > instead seems to work: > > Code: > > osg::AlphaFunc *af = new osg::AlphaFunc(); > af->setFunction(osg::AlphaFunc::GEQUAL, 0.75f); > ss->setAttributeAndModes(af, osg::StateAttribute::ON); > > Cheers, > Michael[/code] > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=48719#48719 > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org