OpenGL problemo...

ElDonAntonio

Senior member
Aug 4, 2001
967
0
0
There's one thing I can't seem to get with OpenGL. When you define a material using either glMaterial or glColorMaterial, is there no going back?
I'll explain better: before calling any material-related OpenGL function, I can define the color of my vertices using glColor. But once I use any material function, OpenGL takes into account only the material properties and not the glColor or color array values anymore. My guess is that there's a state variable that's modified, but which one?