Jump to content


OpenGL glEnable(GL_LIGHTING) problem!


1 reply to this topic

#1 Alienizer

    Member

  • Members
  • PipPipPipPip
  • 435 posts

Posted 23 March 2012 - 04:00 PM

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.

#2 Alienizer

    Member

  • Members
  • PipPipPipPip
  • 435 posts

Posted 23 March 2012 - 04:10 PM

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

http://www.sjbaker.o...l_lighting.html





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users