GIProbe.bake

Bakes the effect from all GeometryInstances marked with GeometryInstance.useInBakedLight and Lights marked with either constant Light.BAKE_INDIRECT or constant Light.BAKE_ALL. If create_visual_debug is true, after baking the light, this will generate a MultiMesh that has a cube representing each solid cell with each cube colored to the cell's albedo color. This can be used to visualize the GIProbe's data and debug any issues that may be occurring.

struct GIProbe
@nogc nothrow
void
bake

Meta