Lighting problems

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?


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.