I'm drawing two cubes with glutSolidCube() which have a light above them.
I want to set the colour of the cube with lighting enabled so I tried to call
glColorMaterial(). It seems that setting diffuse and specular to whatever colour I choose works as intended. I have a white light and set them to red I get a red 'tint'.
If I set emission to green a green colour emits.
However if I set the ambient colour it emits the ambient colour! If I set it to black then I get only the others' contributions, as expected, but if I set it to white I expect it to 'reflect' my current ambient setting, but instead it turns my entire cube white!
I can't find any reason ambient 'casts' light instead of 'reflecting' it.
I'm using a TNT in w2k with the 41.09 drivers.