I have a very simple scene,
- One flat polygon coloured dark blue - glColor3f(0.2f,0.2f,0.5f);
- One point light in front of the polygon (but not very close)
Both material and light have a diffuse component of (0.1f, 0.1f, 0.1f) - everything else is set to 0.0.
GL_LIGHTING and GL_COLOR_MATERIAL are enabled, shade model is set to GL_SMOOTH.
So why oh why oh why is my polygon WHITE???
btw if I move the light so it is to the left (or right, etc) of the polygon the polygon will then shade the right blue. (Not that I expected that either, I would have expected it to be a much darker blue too).
Can anyone help?