Function GIProbe.bake
Bakes the effect from all GeometryInstance
s marked with GeometryInstance
and Light
s marked with either constant Light
or constant Light
. 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.
void bake
(
Node from_node = Node(godot_object(null), ),
const(bool) create_visual_debug = false
) nothrow @nogc;