PDA

View Full Version : Model faces not being lit correctly.



BasicMind
04-24-2011, 12:48 PM
I have a directional light that points straight down. I also have a model that is draw 4 times by using glRotate.

4 of the models have a bunch of faces that are not being lit correctly.

using glEnable(GL_NORMALIZE) seems to help slightly but doesn't fix it.

Any idea what could be causing it?

you can see the bottom half of the circle in these screenshots one (http://dl.dropbox.com/u/2580523/normal2.png) and two (http://dl.dropbox.com/u/2580523/normal1.png)

BionicBytes
04-25-2011, 08:23 AM
Its not very clear from the screen shots which objects are not being lit correctly.
However, generally when you have a problem like this; draw the normals so you can see the direction in which they have been defined.
I assume you are using the fixed function pipeline?