Considerations for lightmaps

An object's lightmap coordinates are stored in a combination of:
- the renderer's lightmapIndex
- the renderer's lightmapTilingOffset and scale
- the uv2 coordinates
When lightmaps are baked the u... An object's lightmap coordinates are stored in a combination of:
- the renderer's lightmapIndex
- the renderer's lightmapTilingOffset and scale
- the uv2 coordinates
When lightmaps are baked the uv2 coordinates are read and the first time you bake, the renderer gets a lightmapIndex and lightmapT... read more

< Back to previous page






follow us