From 3f5c9c644abdacb2cca4eb7cdebe6c392c4ebad6 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 20 Jun 2024 00:56:56 +0200 Subject: [PATCH] Clarify lightmap rebaking being required for LightmapProbe changes --- doc/classes/LightmapProbe.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/LightmapProbe.xml b/doc/classes/LightmapProbe.xml index 48584e50fdd..f1b998789d0 100644 --- a/doc/classes/LightmapProbe.xml +++ b/doc/classes/LightmapProbe.xml @@ -4,8 +4,9 @@ Represents a single manually placed probe for dynamic object lighting with [LightmapGI]. - [LightmapProbe] represents the position of a single manually placed probe for dynamic object lighting with [LightmapGI]. + [LightmapProbe] represents the position of a single manually placed probe for dynamic object lighting with [LightmapGI]. Lightmap probes affect the lighting of [GeometryInstance3D]-derived nodes that have their [member GeometryInstance3D.gi_mode] set to [constant GeometryInstance3D.GI_MODE_DYNAMIC]. Typically, [LightmapGI] probes are placed automatically by setting [member LightmapGI.generate_probes_subdiv] to a value other than [constant LightmapGI.GENERATE_PROBES_DISABLED]. By creating [LightmapProbe] nodes before baking lightmaps, you can add more probes in specific areas for greater detail, or disable automatic generation and rely only on manually placed probes instead. + [b]Note:[/b] [LightmapProbe] nodes that are placed after baking lightmaps are ignored by dynamic objects. You must bake lightmaps again after creating or modifying [LightmapProbe]s for the probes to be effective.