diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-28 09:07:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 09:07:09 +0100 |
commit | 94341ac547002d5d1e338fa115754035d44f51d2 (patch) | |
tree | fbf6b13ad1957ba6acb1e441ce9b069b69b64bda /drivers/dummy | |
parent | a09846e01542f199bbc7eb8b85003736a57f3e16 (diff) | |
parent | 6299575250cf332689ac85a4f86e36d70ca5832c (diff) |
Merge pull request #42987 from clayjohn/VULKAN-sky-only
Add sky_only setting to DirectionalLight3Ds
Diffstat (limited to 'drivers/dummy')
-rw-r--r-- | drivers/dummy/rasterizer_dummy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dummy/rasterizer_dummy.h b/drivers/dummy/rasterizer_dummy.h index dceda8e34f..fdd41f1d46 100644 --- a/drivers/dummy/rasterizer_dummy.h +++ b/drivers/dummy/rasterizer_dummy.h @@ -599,6 +599,8 @@ public: void light_directional_set_blend_splits(RID p_light, bool p_enable) override {} bool light_directional_get_blend_splits(RID p_light) const override { return false; } void light_directional_set_shadow_depth_range_mode(RID p_light, RS::LightDirectionalShadowDepthRangeMode p_range_mode) override {} + void light_directional_set_sky_only(RID p_light, bool p_sky_only) override {} + bool light_directional_is_sky_only(RID p_light) const override { return false; } RS::LightDirectionalShadowDepthRangeMode light_directional_get_shadow_depth_range_mode(RID p_light) const override { return RS::LIGHT_DIRECTIONAL_SHADOW_DEPTH_RANGE_STABLE; } RS::LightDirectionalShadowMode light_directional_get_shadow_mode(RID p_light) override { return RS::LIGHT_DIRECTIONAL_SHADOW_ORTHOGONAL; } |