material colors

Started by
0 comments, last by caron 20 years, 4 months ago
I set the lightmodel ambient light to 0. I add a light with white diffuse color and 0 ambient and specular colors I render a sphere with a material whose diffuse, ambient and specular colors are all 0. Why does the sphere get a bright blue color? In fact, no color setting for the diffuse color of the material seem to have any effect. Have anyone had the same problem, and knows what''s wrong?
caron
Advertisement
glEnable(GL_LIGHTING)

This topic is closed to new replies.

Advertisement