Baked lightmap UVs
Learn how baked lightmap UVs are per-mesh so all instances share the same UVs.
읽는 시간 1분최근 업데이트: 2달 전
Baked lightmap UVs are per-mesh: all instances of the same mesh share the same baked lightmap UVs. Unity can generate these UVs when you import a model, or you can provide your own data.
Unity stores baked lightmap UVs in the mesh in the Mesh.uv2 channel. This channel maps to the TEXCOORD1 shader semantic and is commonly called UV1.
When you enable Baked Global Illumination and a MeshRenderer receives its global illumination from lightmaps, Unity uses the data in the Mesh.uv2 channel to correctly map the baked lightmaps to the mesh.
For more information, refer to Generating lightmap UVs.