Advertisement

Lighting...

Started by February 10, 2002 07:23 PM
3 comments, last by foonk 23 years ago
why is it that when i turn lighting on in my gl app everything gets rendered grey. anyone know what could be causing this? thanks for any help. m
have you tried glEnable(GL_COLOR_MATERIAL) in your initialisation code?
Advertisement
check your material properties too. They can really change how the colors of something look.
www.EberKain.comThere it is, Television, Look Listen Kneel Pray.
thanks guys i got the color working, but is there a good place to read up about the material settings? maybe somewhere on NeHe''s site that i missed?

thanks

m
If you''re used to OpenGL, I definately recommend looking at the red book (there exists an online version at www.gamedev.net->resources->articles & resources->OpenGL->Online Books->OpenGL Red Book)

This topic is closed to new replies.

Advertisement