Documentation

Support

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK


Repack UVs

Use this feature to repack texture coordinates
Read time 1 minuteLast updated 4 months ago

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