Hello Filip,

As far as I remember, there is no hardware support for color matrix.
It was supposed to be used for things like rendering the lumiance etc. of a color, which can be done with fragment/vertex shaders nowadays. If you want to change the color you should use the Material stateAttribute or change the color array of your geometry.

cheers
Sebastian

Hi,

I want to use GL_COLOR matrix mode. I want to render everything under 
osg::Group node in slightly different color. Is GL_COLOR matrix mode capable of 
this ? And what is the best implementation approach in osg ?

Thank you!

Cheers,
Filip

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50256#50256





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

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

Reply via email to