summaryrefslogtreecommitdiff
path: root/scene/3d/light_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-28 09:07:09 +0100
committerGitHub <noreply@github.com>2020-11-28 09:07:09 +0100
commit94341ac547002d5d1e338fa115754035d44f51d2 (patch)
treefbf6b13ad1957ba6acb1e441ce9b069b69b64bda /scene/3d/light_3d.h
parenta09846e01542f199bbc7eb8b85003736a57f3e16 (diff)
parent6299575250cf332689ac85a4f86e36d70ca5832c (diff)
Merge pull request #42987 from clayjohn/VULKAN-sky-only
Add sky_only setting to DirectionalLight3Ds
Diffstat (limited to 'scene/3d/light_3d.h')
-rw-r--r--scene/3d/light_3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/light_3d.h b/scene/3d/light_3d.h
index 69c0478b86..08287a3313 100644
--- a/scene/3d/light_3d.h
+++ b/scene/3d/light_3d.h
@@ -158,6 +158,7 @@ private:
bool blend_splits;
ShadowMode shadow_mode;
ShadowDepthRange shadow_depth_range;
+ bool sky_only = false;
protected:
static void _bind_methods();
@@ -172,6 +173,9 @@ public:
void set_blend_splits(bool p_enable);
bool is_blend_splits_enabled() const;
+ void set_sky_only(bool p_sky_only);
+ bool is_sky_only() const;
+
DirectionalLight3D();
};