Module rg3d::utils::lightmap [−][src]
Expand description
Module to generate lightmaps for surfaces.
Performance
This is CPU lightmapper, its performance is linear with core count of your CPU.
WARNING: There is still work-in-progress, so it is not advised to use lightmapper now!
Structs
Small helper that allows you stop lightmap generation in any time.
Directional light is a light source with parallel rays. Example: Sun.
Lightmap is a texture with precomputed lighting.
Point light is a spherical light source. Example: light bulb.
Progress internals.
Small helper that allows you to track progress of lightmap generation.
Spot light is a cone light source. Example: flashlight.
Enums
Light definition for lightmap rendering.
An error that may occur during ligthmap generation.
Lightmap generation stage.