[osg-users] Setting alpha channel in Frag Shader does not work.
StevenAPowers at gmail.com
Thu Mar 19 12:51:36 PDT 2009
Ok I figured it out. Apparently alpha blending was getting triggered back on somewhere else in the scene graph.
ss->setMode(GL_BLEND, osg::StateAttribute::OFF | osg::StateAttribute::OVERRIDE | osg::StateAttribute::PROTECTED);
fixed the problem.
Thanks for the help!
Read this topic online here:
More information about the osg-users