From 6299575250cf332689ac85a4f86e36d70ca5832c Mon Sep 17 00:00:00 2001 From: clayjohn Date: Wed, 21 Oct 2020 23:22:53 -0700 Subject: Add sky_only setting to DirectionalLight3Ds --- doc/classes/DirectionalLight3D.xml | 3 +++ doc/classes/RenderingServer.xml | 11 +++++++++++ 2 files changed, 14 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/DirectionalLight3D.xml b/doc/classes/DirectionalLight3D.xml index afd85a9cb7..233b1f0c16 100644 --- a/doc/classes/DirectionalLight3D.xml +++ b/doc/classes/DirectionalLight3D.xml @@ -41,6 +41,9 @@ + + If [code]true[/code], this [DirectionalLight3D] will not be used for anything except sky shaders. Use this for lights that impact your sky shader that you may want to hide from affecting the rest of the scene. For example, you may want to enable this when the sun in your sky shader falls below the horizon. + diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 857c13deb5..4c5ec13cd0 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -1432,6 +1432,17 @@ Sets the shadow mode for this directional light. Equivalent to [member DirectionalLight3D.directional_shadow_mode]. See [enum LightDirectionalShadowMode] for options. + + + + + + + + + If [code]true[/code], this light will not be used for anything except sky shaders. Use this for lights that impact your sky shader that you may want to hide from affecting the rest of the scene. For example, you may want to enable this when the sun in your sky shader falls below the horizon. + + -- cgit v1.2.3