humberto
02-03-2001, 03:58 AM
Hi OpenGL community,
I made a simple white cube with a blue light but something strange happens because
depending on the intensity of the light the cube appears to be white.
As far as I understand about light behavior I think it is supposed to the cube to be blue and I don't know why its turning into white.
To analyse how light behaves in OpenGL I decided to made a program where I could control the 3 components of light: environment, specular and diffuse.
When I decrease the specular component the cube starts to get blue and when I increase the same component it turns into white .
Does anybody know can explain that to me ?
thanx
I made a simple white cube with a blue light but something strange happens because
depending on the intensity of the light the cube appears to be white.
As far as I understand about light behavior I think it is supposed to the cube to be blue and I don't know why its turning into white.
To analyse how light behaves in OpenGL I decided to made a program where I could control the 3 components of light: environment, specular and diffuse.
When I decrease the specular component the cube starts to get blue and when I increase the same component it turns into white .
Does anybody know can explain that to me ?
thanx