On 9/29/2010 6:32 AM, Jan Ciger wrote:
How can I tweak OSG red/cyan?
I suppose you will need to change the rendering code, I am not aware
of this being "tweakable" anywhere, as only OpenGL color masks are
being used - which basically say render everything into red or blue
channel (or some combination of them).

Just a thought... All you need to do is modify the final output color of each pixel. I was wondering if the color matrix could be used for this, assuming OSG even supports that (I've never looked, and I don't have easy access to the source right now).

It also could conceivably be done in a fragment shader.

--"J"

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

Reply via email to