- Patch Bakery
Tools/XatlasLightmap/PatchBakery
- Add a
XatlasLightmapPacker
script on a GameObject - Add GameObjects to the list and press Pack (all active renderers are taken from child GameObjects)
- Make sure the same GameObjects are on one bakery lightmap group with no UV adjustments (PackingMode: OriginalUV)
- Bake
If the mesh looks wrong after changing it, clear the streams and pack again Breaks GPU instancing