# Repack UVs

> Use this feature to repack texture coordinates

API function: [algo.repackUV](/asset-transformer-sdk/2026.4/api/python/algo_functions.md#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](/api/media?file=/asset-transformer-sdk/media/images/repackuvs.png)

> **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](/api/media?file=/asset-transformer-sdk/media/images/lightmap_brakes_highlight.png)
