summaryrefslogtreecommitdiff
path: root/servers/rendering_server.cpp
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 /servers/rendering_server.cpp
parenta09846e01542f199bbc7eb8b85003736a57f3e16 (diff)
parent6299575250cf332689ac85a4f86e36d70ca5832c (diff)
Merge pull request #42987 from clayjohn/VULKAN-sky-only
Add sky_only setting to DirectionalLight3Ds
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index ea37e0c143..ed25bf7546 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -1617,6 +1617,7 @@ void RenderingServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("light_directional_set_shadow_mode", "light", "mode"), &RenderingServer::light_directional_set_shadow_mode);
ClassDB::bind_method(D_METHOD("light_directional_set_blend_splits", "light", "enable"), &RenderingServer::light_directional_set_blend_splits);
+ ClassDB::bind_method(D_METHOD("light_directional_set_sky_only", "light", "enable"), &RenderingServer::light_directional_set_sky_only);
ClassDB::bind_method(D_METHOD("light_directional_set_shadow_depth_range_mode", "light", "range_mode"), &RenderingServer::light_directional_set_shadow_depth_range_mode);
ClassDB::bind_method(D_METHOD("reflection_probe_create"), &RenderingServer::reflection_probe_create);