Prerendered indirect light map for a scene.
Baked lightmaps are an alternative workflow for adding indirect (or baked) lighting to a scene. Unlike the [GIProbe] approach, baked lightmaps work fine on low-end PCs and mobile devices as they consume almost no resources in run-time. [b]Note:[/b] This node has many known bugs and will be [url=https://godotengine.org/article/godot-40-will-get-new-modernized-lightmapper]rewritten for Godot 4.0[/url]. See [url=https://github.com/godotengine/godot/issues/30929]GitHub issue #30929[/url].
https://docs.godotengine.org/en/3.2/tutorials/3d/baked_lightmaps.html
Bakes the lightmap, scanning from the given [code]from_node[/code] root and saves the resulting [BakedLightmapData] in [code]data_save_path[/code]. If no save path is provided it will try to match the path from the current [member light_data].
- When enabled, the lightmapper will merge the textures for all meshes into a single large layered texture. Not supported in GLES2.
- Maximum size of each lightmap layer, only used when [member atlas_generate] is enabled.
- Raycasting bias used during baking to avoid floating point precission issues.
- Number of light bounces that are taken into account during baking.
- Grid size used for real-time capture information on dynamic objects.
- When enabled, an octree containing the scene's lighting information will be computed. This octree will then be used to light dynamic objects in the scene.
- Bias value to reduce the amount of light proagation in the captured octree.
- Bake quality of the capture data.
- If a baked mesh doesn't have a UV2 size hint, this value will be used to roughly compute a suitable lightmap size.
- The environment color when [member environment_mode] is set to [constant ENVIRONMENT_MODE_CUSTOM_COLOR].
- The energy scaling factor when when [member environment_mode] is set to [constant ENVIRONMENT_MODE_CUSTOM_COLOR] or [constant ENVIRONMENT_MODE_CUSTOM_SKY].
- The [Sky] resource to use when [member environment_mode] is set o [constant ENVIRONMENT_MODE_CUSTOM_SKY].
- The rotation of the baked custom sky.
- Decides which environment to use during baking.
- Size of the baked lightmap. Only meshes inside this region will be included in the baked lightmap, also used as the bounds of the captured region for dynamic lighting.
- Deprecated, in previous versions it determined the location where lightmaps were be saved.
- The calculated light data.
- Determines the amount of samples per texel used in indrect light baking. The amount of samples for each quality level can be configured in the project settings.
- When enabled, a lightmap denoiser will be used to reduce the noise inherent to Monte Carlo based global illumination.
The lowest bake quality mode. Fastest to calculate.
The default bake quality mode.
A higher bake quality mode. Takes longer to calculate.
The highest bake quality mode. Takes the longest to calculate.
Baking was successful.
Returns if no viable save path is found. This can happen where an [member image_path] is not specified or when the save location is invalid.
Currently unused.
Returns when the baker cannot save per-mesh textures to file.
The size of the generated lightmaps is too large.
Some mesh contains UV2 values outside the [code][0,1][/code] range.
Returns if user cancels baking.
No environment is used during baking.
The baked environment is automatically picked from the current scene.
A custom sky is used as environment during baking.
A custom solid color is used as environment during baking.