Home

Awesome

XatlasLightmap

A tool for the most efficient lightmap packing in Unity.

How it works

It generates unique uv2 per mesh, instead of using lightmap UV offsets, which when combined with static batching doesn't create any extra cost. Additional vertex streams are used to set uv2 in editor, which requires modifications to bakery scripts. Lightmap Scale is also calculated differently which allows it to have perfectly uniform texel density when lightmap scale is set to 1.

How to use

Share your lightmaps

Limitations

Examples

Sponza:

Screenshot 2023-03-18 164316

Checker preview:

image

Sponza 2:

image