Advertisement Jump to content
Sign in to follow this  

Lightmap calculation

This topic is 4961 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. When calculating precalculated lighmap, several texels of lightmap will be inside faces and others, around faces(due to texture filtering). But, where do they be placed? I tried to use slope of the closest face to find what could be position and normal at the texel center. But it makes artefacts. After I tried to place these patches as if they were along face edge. And it also makes artefact. So, what should I do? The goal is for me to have the correct quality with the smallest lightmap resolution. What does I dream?

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!