summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlooferLand! <76737186+FlooferLand@users.noreply.github.com>2024-11-11 18:36:58 +0200
committerGitHub <noreply@github.com>2024-11-11 18:36:58 +0200
commit22caab0248071b2c7f852f302f30745d1c99e77d (patch)
tree4b78aac3bdeaff6c26f23f23f5ce95d05d826bff
parent0f5f3bc9546b46b2029fc8896dc859697f1eab97 (diff)
downloadredot-engine-22caab0248071b2c7f852f302f30745d1c99e77d.tar.gz
Add note about LightmapGI only baking nodes under its parent
`LightmapGI`'s documentation currently doesn't mention the fact it only bakes nodes under its parent. This can make the user think there is something wrong with their scene setup or 3D models, as it refuses to bake when the user's models / world isn't under the same parent as the `LightmapGI`.
-rw-r--r--doc/classes/LightmapGI.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/LightmapGI.xml b/doc/classes/LightmapGI.xml
index e7d44411ef..9bfaad4dd5 100644
--- a/doc/classes/LightmapGI.xml
+++ b/doc/classes/LightmapGI.xml
@@ -10,6 +10,7 @@
[b]Note:[/b] Due to how lightmaps work, most properties only have a visible effect once lightmaps are baked again.
[b]Note:[/b] Lightmap baking on [CSGShape3D]s and [PrimitiveMesh]es is not supported, as these cannot store UV2 data required for baking.
[b]Note:[/b] If no custom lightmappers are installed, [LightmapGI] can only be baked from devices that support the Forward+ or Mobile rendering backends.
+ [b]Note:[/b] The [LightmapGI] node only bakes light data for child nodes of its parent. Nodes further up the hierarchy of the scene will not be baked.
</description>
<tutorials>
<link title="Using Lightmap global illumination">$DOCS_URL/tutorials/3d/global_illumination/using_lightmap_gi.html</link>