(Maybe I missed a discussion leading up to this post...?) Interesting. I wonder why the OpenGL man pages recommend this without any qualification. Certainly the order is not a strict OpenGL requirement. I don't think it would be a performance issue either. Weird. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com <http://www.skew-matrix.com/> 303 859 9466
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schmidt, Richard, SDGE1 Sent: Monday, October 15, 2007 8:15 AM To: [email protected] Subject: [osg-users] OpenGL.org says ... OSG does... Call glColorMaterial before enabling GL_COLOR_MATERIAL. http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/colo rmaterial.html osg: void Material::apply(State&) const { . glEnable(GL_COLOR_MATERIAL); glColorMaterial(GL_FRONT_AND_BACK,(GLenum)_colorMode); . } Any ideas? Richard
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

