PDA

View Full Version : Weird lighting bug with software rendering



Don't Disturb
01-25-2012, 02:35 AM
I'm working on a renderer that needs to work correctly with Windows' software OpenGL.
Rendering a sphere with more than 1 light works fine when rendered by a graphics card, but in software gives the weird effect shown in the second picture. Do you have any idea what might be causing this?

Don't Disturb
01-30-2012, 03:20 AM
In case anyone else has the same problem, the solution is to disable GL_COLOR_MATERIAL.