Skip to content

Better lightmap packing for Unity

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

z3y/XatlasLightmap

Repository files navigation

XatlasLightmap

  • 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

Screenshot 2023-03-18 164316