Jump to content
  • Advertisement
Sign in to follow this  

Dynamic Lightmapping + Texture Coords

This topic is 5465 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

Hya, I would like to do dynamic lightmapping in my engine - what I mean is multiple light maps per face. I don't want to blend the light maps so that I can change the colour / turn them off at run time. However, I'm having trouble working out how to store the textures efficiently and create the texture coords. If I store the textures really efficentley (I was going to split the texture in to a quadtree-like structure) then for each light (light map) the texture co-ordinates are going to be different. The only way I could get around this is to have a texture co-ordinate matrix for every face for every light map and that sounds really intensive at run-time. Otherwise I could use one set of texture coords but my textures couldn't be stored as efficiently and multiple textures would have to be used for the same lightmap increasing passes. Has anyone got any suggestions Thanks Matt

Share this post

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

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!