Browse Source

Merge pull request #35316 from Calinou/contact-shadows-hide-from-editor

Document Light contact shadows often looking broken
Rémi Verschelde 3 years ago
parent
commit
125e419f61
1 changed files with 2 additions and 1 deletions
  1. 2 1
      doc/classes/Light.xml

+ 2 - 1
doc/classes/Light.xml

@@ -62,7 +62,8 @@
 			The color of shadows cast by this light.
 		</member>
 		<member name="shadow_contact" type="float" setter="set_param" getter="get_param" default="0.0">
-			Attempts to reduce [member shadow_bias] gap.
+			Attempts to reduce [member shadow_bias] gap by rendering screen-space contact shadows. This has a performance impact, especially at higher values.
+			[b]Note:[/b] Contact shadows can look broken, so leaving this property to [code]0.0[/code] is recommended.
 		</member>
 		<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
 			If [code]true[/code], the light will cast shadows.