Jump to content
  • Advertisement
Sign in to follow this  
megatron244

Lightmap

This topic is 4178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm trying to implement a light map in my scene. I have a regular texture and the lightmap texture. I'm abit confused as to what glTexEnv to use for each texture. The only comnination for which it seems to be half working (I get a mixture of both textures) is when the second one is GL_BLEND, but then whole object becomes transparent _and_ the lightmap appears to be black. thanks in advance, - Vince

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!