summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-08 23:20:09 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-03-04 23:12:18 +0100
commitaea104deb720e22e11d4ead8253c9717eb99db2e (patch)
tree1737f662d9c6815dd900b0fe58047637020acf0b /doc/classes
parent71835906dd3965eac703137bc8e14abcaa630dfd (diff)
Remove unused `shadow_color` property from Light3D
This shadow color property was no longer effective since the shaders were optimized to improve occupancy.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Light3D.xml3
-rw-r--r--doc/classes/RenderingServer.xml8
2 files changed, 0 insertions, 11 deletions
diff --git a/doc/classes/Light3D.xml b/doc/classes/Light3D.xml
index 0350d09dfd..b7822f1bb0 100644
--- a/doc/classes/Light3D.xml
+++ b/doc/classes/Light3D.xml
@@ -86,9 +86,6 @@
<member name="shadow_blur" type="float" setter="set_param" getter="get_param" default="1.0">
Blurs the edges of the shadow. Can be used to hide pixel artifacts in low-resolution shadow maps. A high value can impact performance, make shadows appear grainy and can cause other unwanted artifacts. Try to keep as near default as possible.
</member>
- <member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color(0, 0, 0, 1)">
- The color of shadows cast by this light.
- </member>
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
If [code]true[/code], the light will cast real-time shadows. This has a significant performance cost. Only enable shadow rendering when it makes a noticeable difference in the scene's appearance, and consider using [member distance_fade_enabled] to hide the light when far away from the [Camera3D].
</member>
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index ba3f5e10f5..50990b5320 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -1709,14 +1709,6 @@
If [code]true[/code], light will cast shadows. Equivalent to [member Light3D.shadow_enabled].
</description>
</method>
- <method name="light_set_shadow_color">
- <return type="void" />
- <argument index="0" name="light" type="RID" />
- <argument index="1" name="color" type="Color" />
- <description>
- Sets the color of the shadow cast by the light. Equivalent to [member Light3D.shadow_color].
- </description>
- </method>
<method name="lightmap_create">
<return type="RID" />
<description>