docs.unity3d.com
Version: 

    Repack texture coordinates

    API function: algo.repackUV

    Use this feature to repack the UV islands of a set of input meshes into a single UV space [0, 1].

    The precision of the algorithm is driven by the iterations and the resolution parameters.

    RepackUVs

    Tip

    For lightmapping, we recommend that you run the feature once per mesh, to repack texture coordinates per mesh. This operation optimizes the space taken by the lightmap.

    This example shows an entire lightmap, where each highlighted square represents one repacked mesh:

    Highlight

    Version 2025.3.0.0
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.