LightmapResource
A resource containing references to lightmap texture atlases and descriptions of how parts of the atlases map to meshes in the scene.
Declaration
final class LightmapResourceOverview
At a high level, LightmapResource comprises two parts: a set of layered textures containing lightmap data, and a set of EntityLightmapDescriptors specifying atlas packing. Both parts (the lightmap data and atlas packing) are expected to be generated by an offline process. LightmapResource is only intended for storing and retrieving them. Importantly, LightmapResource does not store references to runtime Entities. The correspondence between runtime Entities and their matching EntityLightmapDescriptors is established by LightmapComponent.
Topics
Structures
LightmapResource.AmbientOcclusionBakeDescriptorLightmapResource.AtlasReferenceLightmapResource.EntityLightmapDescriptorLightmapResource.FinalShadedColorBakeDescriptorLightmapResource.IndirectDiffuseIrradianceBakeDescriptorLightmapResource.MeshPartLightmapDescriptor