..................... // activate blending to be able to write to gl_FragColor.a stateset->setMode(GL_BLEND, osg::StateAttribute::ON); ......................
No, this comment has a misunderstanding. Writing to gl_FragColor.a in the fragment shader does work of course but it isn't the final RGBA value as the pipeline has a hardware stage AFTER the fragment shader. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

