Hello,

Have everyone experience with the gl shading language? I would like to do 
something like that on my texture (I use render to texture):

gl_FragData[0] += vec(0.01,0,0,1);

Is that possible? I want to increment the color in my texture in every render 
pass (in this case the red channel). I don't want to copy back to the cpu 
memory. And I use the FRAME_BUFFER_OBJECT. I guess the gl_FragData[0] is in 
every render pass zero (black). Is it possible to change that?

Cheers

Martin
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to