PDA

View Full Version : Problems with lighting..



jpdamato
05-28-2004, 06:24 AM
Hi.
The problem we have is that when we're rendering objects (with drawElements), with a particular one and depending our view Vector, the light doesn't affect that object.
The other objects haven't any problem with light.
Could it be something like graphic-memory leaks?

Bye

SirKnight
05-28-2004, 12:26 PM
So you're saying that one of the numerous objects you render does not get lit, but all the others do? Is there anyway you could perhaps post some code that has to do with the rendering and lighting setup? Maybe that one object's normals aren't correct or getting passed to GL?

-SirKnight