Hi,

I have a problem with BlendEquations and shaders. That is the situation:

I attach several textures to my camera using COLOR_BUFFER0, COLOR_BUFFER1,
...
I use a shader to make the rendering into this textures.

There is some values in this textures and i would like to use a max blending
between the value wich are already in and the values i affect in the shader.

When I define an osg::BlendEquation with RGBA_MAX blending, i have the blend
result between the value in the frame buffer (background color or ClearColor
) and the value in the shader.

What I do wrong? Somebody have a idea?

Thanks for helping
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to