summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_wrap_mt.h
diff options
context:
space:
mode:
authorDaniel Rakos <daniel.rakos@rastergrid.com>2019-04-23 11:36:36 +0200
committerDaniel Rakos <daniel.rakos@rastergrid.com>2019-04-23 11:36:36 +0200
commitde33ef2d1b94c1d3acc1cfa708665c99d0d0bb43 (patch)
tree83dd80102a1f9aca89d68f3ce4165807c447a27f /servers/visual/visual_server_wrap_mt.h
parent4b6327fb302cff5998bf3d3405a645d02bddb42a (diff)
Disable GI probe capturing lights with bake mode disabled
The bake mode property of lights previously didn't affect GI probes. This change makes the GI probe ignore lights that have their bake mode set to disabled.
Diffstat (limited to 'servers/visual/visual_server_wrap_mt.h')
-rw-r--r--servers/visual/visual_server_wrap_mt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h
index a6f0bd9d16..ce61197ffa 100644
--- a/servers/visual/visual_server_wrap_mt.h
+++ b/servers/visual/visual_server_wrap_mt.h
@@ -247,6 +247,7 @@ public:
FUNC2(light_set_negative, RID, bool)
FUNC2(light_set_cull_mask, RID, uint32_t)
FUNC2(light_set_reverse_cull_face_mode, RID, bool)
+ FUNC2(light_set_use_gi, RID, bool)
FUNC2(light_omni_set_shadow_mode, RID, LightOmniShadowMode)
FUNC2(light_omni_set_shadow_detail, RID, LightOmniShadowDetail)