diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-30 18:33:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 18:33:34 +0200 |
commit | dd2cd06165670bb0d78bf4aa397935be15716e76 (patch) | |
tree | 87017115deb9dafbc9f6ee7e003e024f1d5f48cf /servers/visual/rasterizer.h | |
parent | 06440408727cf30c2220b1a9225b14467302a8d0 (diff) | |
parent | de33ef2d1b94c1d3acc1cfa708665c99d0d0bb43 (diff) |
Merge pull request #25670 from aqnuep/bake_mode_affect_gi_prove
Disable GI probe capturing lights with bake mode disabled
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index b22e26f903..a02f52f034 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -373,6 +373,7 @@ public: virtual void light_set_negative(RID p_light, bool p_enable) = 0; virtual void light_set_cull_mask(RID p_light, uint32_t p_mask) = 0; virtual void light_set_reverse_cull_face_mode(RID p_light, bool p_enabled) = 0; + virtual void light_set_use_gi(RID p_light, bool p_enable) = 0; virtual void light_omni_set_shadow_mode(RID p_light, VS::LightOmniShadowMode p_mode) = 0; virtual void light_omni_set_shadow_detail(RID p_light, VS::LightOmniShadowDetail p_detail) = 0; @@ -392,6 +393,7 @@ public: virtual AABB light_get_aabb(RID p_light) const = 0; virtual float light_get_param(RID p_light, VS::LightParam p_param) = 0; virtual Color light_get_color(RID p_light) = 0; + virtual bool light_get_use_gi(RID p_light) = 0; virtual uint64_t light_get_version(RID p_light) const = 0; /* PROBE API */ |