[osg-users] Modify Alpha Test Value

2014-02-13 Thread Steven Powers
Hi, How can I modify the alpha test value used in GL_ALPHA_TEST?? Thank you! Cheers, Steven -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58242#58242 ___ osg-users mailing list osg-users@lists.ope

Re: [osg-users] Modify Alpha Test Value

2014-02-13 Thread Farshid Lashkari
Hi Steven, You can use the osg::AlphaFunc state attribute for changing the alpha test function and reference value. Just apply the attribute to the stateset of the subgraph you would like to modify. Cheers, Farshid On Thu, Feb 13, 2014 at 9:28 AM, Steven Powers wrote: > Hi, > > How can I modif

Re: [osg-users] Modify Alpha Test Value

2014-02-13 Thread Robert Osfield
Hi Stephan, Use osg::AlphaFunc attribute attribute. For docs on this functional see OpenGL glAlphaFunc. To help with documentation/knowledge reuse we use the general rule for naming is glName -> osg::Name. Robert. On 13 February 2014 17:28, Steven Powers wrote: > Hi, > > How can I modify t