Archived

This topic is now archived and is closed to further replies.

AIRmichael

Texture and light at the same time

Recommended Posts

Hey, I cant use light and have a texture at the same time. Does any 1 know how to fix this? I enabled the lighting. And it only works when there is no texture on it. I am just useing standard lighting atm. Useing glLightAmbient etc. Michael L.

Share this post


Link to post
Share on other sites
I recently discovered a solution to this by accident, in creating my game. For instance, if using spheres have an inner sphere emitting light and have a second transparent sphere enclosing the emitting sphere, texture mapped. The texture map of the transparent sphere also inherets the tranparency.

Regards,
Mathematix.

Share this post


Link to post
Share on other sites