GL Lights from Tutorials
I can''t seem to get the lights to work properly in my program. When I do the tutorial it works but in my program when lighting is enabled it is very dark and won''t change no matter what I do.
L.I.G. == Life Is Good
January 12, 2001 06:40 PM
It can be anything but a common problem is to set the normals correct.
I just learned about lighting myself, and I had that same problem. It was fixed as soon as I defined materials for my vertices. Look up glMaterialfv and it may fix your problem.
--Riley
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement