Expand description
Module to generate lightmaps for surfaces.
§Performance
This is CPU lightmapper, its performance is linear with core count of your CPU.
Structs§
- Cancellation
Token - Small helper that allows you stop lightmap generation in any time.
- Lightmap
- Lightmap is a texture with precomputed lighting.
- Lightmap
Entry - Lightmap entry.
- Lightmap
Input Data - Data set required to generate a lightmap. It could be produced from a scene using
LightmapInputData::from_scene
method. It is used to split preparation step from the actual lightmap generation; to be able to put heavy generation in a separate thread. - Progress
Data - Progress internals.
- Progress
Indicator - Small helper that allows you to track progress of lightmap generation.
Enums§
- Lightmap
Generation Error - An error that may occur during ligthmap generation.
- Progress
Stage - Lightmap generation stage.
Functions§
- apply_
surface_ data_ patch - Applies surface data patch to a surface data.