Timmeh7
04-08-2011, 07:21 PM
A slightly strange problem. I'm lighting my scene with a few lights, however, if I set GL_DIFFUSE to any value at all, everything in the scene ends up yellow, be it 0, 0, 0, 0 or 1, 1, 1, 1 or any values in between. Most interestingly, if I comment out the line which sets GL_DIFFUSE, LIGHT0 ends up white (as desired) and only lighting what it's supposed to, however LIGHT1 and above end up yellow, I assume because they default to black (which I'm changing but still end up yellow). Setting LIGHT0's GL_DIFFUSE to anything also results in mass yellow. Any help would be much appreciated...