Hi Ren, Don't be down :-) You can enable alpha testing by creating a stateset for the Group/Geode/.. and setting the GL_APHA_TEST mode on, f.i.: geode->getOrCreateStateSet()->setMode(GL_ALPHA_TEST, osg::StateAttribute::ON); Kind regards,
Ruben ________________________________ From: osg-users-boun...@lists.openscenegraph.org on behalf of ren jie Sent: Sat 10/24/2009 5:03 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] how can i enable alpha test? Hi, i am so down , beacause i do not know how to enable alpha test . i am realy need help Thank you! Cheers, ren ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18652#18652 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
<<winmail.dat>>
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org