Original Post
Ok, I''ve recently run into a couple oditeys in my program.
Fisrt, I have an object that has no textures just per vertex coloring. If I enable lighting then I have to enable GL_COLOR_MATERIAL or the object appears gray. If I disable lighting I dosn''t make a difference if I enable GL_COLOR_MATERIAL or not.
Second, if I disable GL_COLOR_MATERIAL while lighting is enabled then it leaves the color at that time as the material color and put''s that over everything. If I put a glColor4f(1,1,1,1); command just before disabeling GL_COLOR_MATERIAL then there''s no problem but if I put it just after disableing GL_COLOR_MATERIAL then it has no effect.
I''m wondering if that''s normal or what?