Hi Rahul,

Rahul Jain wrote:
> Color matrix in OpenGL is used for color space conversion, for example
> using color matric you can convert RGB to BGR , RGB to CMY.
> Unfortunately i do not have any screen grabs for the moment, but i am
> trying to achieve night vision effect using this code ,

doesn't the color matrix only affect pixel transfer operations? Like texture upload/download, framebuffer reads and such? So you can't use it to modify object appearance on the fly.

/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to