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/latest/tutorials/3d/baked_lightmaps.html Bakes the lightmaps within the currently edited scene. Returns a [enum BakeError] to signify if the bake was successful, or if unsuccessful, how the bake failed. Executes a dry run bake of lightmaps within the currently edited scene. Grid subdivision size for lightmapper calculation. The default value will work for most cases. Increase for better lighting on small details or if your scene is very large. If a [member Mesh.lightmap_size_hint] isn't specified, the lightmap baker will dynamically set the lightmap size using this value. This value is measured in texels per world unit. The maximum lightmap texture size is 4096x4096. Multiplies the light sources' intensity by this value. For instance, if the value is set to 2, lights will be twice as bright. If the value is set to 0.5, lights will be half as bright. The size of the affected area. If [code]true[/code], the lightmap can capture light values greater than [code]1.0[/code]. Turning this off will result in a smaller file size. Lightmapping mode. See [enum BakeMode]. Defines how far the light will travel before it is no longer effective. The higher the number, the farther the light will travel. For instance, if the value is set to 2, the light will go twice as far. If the value is set to 0.5, the light will only go half as far. Three quality modes are available. Higher quality requires more rendering time. See [enum BakeQuality]. Grid size used for real-time capture information on dynamic objects. Cannot be larger than [member bake_cell_size]. The location where lightmaps will be saved. The calculated light data. The lowest bake quality mode. Fastest to calculate. The default bake quality mode. The highest bake quality mode. Takes longer to calculate. Less precise but faster bake mode. More precise bake mode but can take considerably longer to bake. 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. Returns if user cancels baking.