[osg-users] Problem using osg::ColorMatrix

Ulrich Hertlein u.hertlein at sandbox.de
Mon Jul 28 17:13:50 PDT 2008

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.


More information about the osg-users mailing list