Sign in to follow this  
_code_fly

Lightmap Texture Packing

Recommended Posts

_code_fly    122
Hi, just wondering if anyone could point me to a resource for lightmap generation. I need an algorithm for the texture packer - the code which generates lightmap texture coordinates and packs the lightmap into one texture. cheers

Share this post


Link to post
Share on other sites
_code_fly    122
thanks!

I suppose that the algorithm could be adapted to use triangles rather than quads by replacing the quad with the bounding rectangle of the triangle...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this