PDA

View Full Version : Lighting problems



12-19-2003, 04:33 PM
I have a little game engine going. WHen I turn on lighting, the objects with transparent textures are no longer transparent, blending no longer works. What is going on?

Also textured objects aren't showing any effects of lighting, even if I give the normal. How do I do this?

Thanks

dorbie
12-20-2003, 03:26 AM
Are your alpha values specified with color calls?

You should set material alpha to get transparency with lighting.

Also, with texturing you need to use a GL_MODULATE texenv to get lighting interracting correctly with texture color.