OpenGL glEnable(GL_LIGHTING) problem!

88dc730f0f71e55be39de0ad103bd9ff
0
Alienizer 109 Mar 23, 2012 at 16:00

When I disable GL_LIGHTING I can see the colors on my walls and textured floor. However, when I enable GL_LIGHTING I can see the textured floor just fine, but all the walls are white, the colors are gone! Anyone knows what this could be? Thanks.

1 Reply

Please log in or register to post a reply.

88dc730f0f71e55be39de0ad103bd9ff
0
Alienizer 109 Mar 23, 2012 at 16:10

Here is where I found my answer, if anyone else have the same problem…

http://www.sjbaker.org/steve/omniv/opengl_lighting.html