Hi,

Have you tried playing with osg::Material::setColorMode? It controls 
glColorMaterial settings, which is used to switch between having the material 
colour be determined by the global colour or vertex colours. You probably had 
the Material set to use its own colour, but if you re-add it and set the mode 
to GL_DIFFUSE or GL_AMBIENT_AND_DIFFUSE, your vertex colours set in the colour 
array should still work.

Cheers,
Chris

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





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

Reply via email to