Hi Ulrich, Thanks for the reply, you are absolutely right, color matrix is part of imaging subset which is used during pixel transfer operation. The concept just slipped out of my mind ;) thanks for the correcting my thoughts cheers RJ
Ulrich Hertlein wrote: > 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 > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org