Hi, thanks for the reply!
I get the undefined part, that makes sense, but what I still don't understand though: I just specify blending (GL_BLEND on) is on in the nodes. But then if I do gl_FragData[0] = vec4(0,0,0,0); then it doesn't seem to matter anymore what I write to gl_FragData[1[ trough gl_FragData[3], because it doesn't seem to write anything to the other buffers, or at least I noticed that the alpha value from fragdata 0 seems to have an effect on what happens with fragdate 3 in my tests. In my test if I set gl_FragData[0] = vec4(0,0,0,0);, then fragdata 3 is also not updated, even if I write a pixel with alpha value 1 to it, vec4(1,0,0,1) for example. to clarify further, what I would like is to use the destination blend, so it should only use the alpha from my new pixels to blend, and that goes for all buffers. And obviously the alpha value from the fragdata 0 should not effect the other buffers. What would I need to set in osg to make it so? Thank you! Cheers, Bram ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57124#57124 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

