Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
LightmapProbe
表示使用 LightmapGI 進行動態物體照明的單個手動放置的探查。
說明
LightmapProbe 表示單個手動放置探針的位置,用於使用 LightmapGI 進行動態物體照明。光照貼圖探針會影響某些 GeometryInstance3D 派生節點的照明,這些節點的 GeometryInstance3D.gi_mode 被設定為 GeometryInstance3D.GI_MODE_DYNAMIC。
通常,通過將 LightmapGI.generate_probes_subdiv 設定為 LightmapGI.GENERATE_PROBES_DISABLED 以外的值,來自動放置 LightmapGI 探針。通過在烘焙光照貼圖之前建立 LightmapProbe 節點,你可以在特定區域,新增更多探針以獲得更多細節,或者停用自動生成、並僅相依性手動放置的探針。
注意:烘焙光照貼圖後放置的 LightmapProbe 節點會被動態物件忽略。必須在建立或修改 LightmapProbe 後再次烘焙光照貼圖,以使探針生效。