Skip to content

Commit 125e419

Browse files
authored
Merge pull request #35316 from Calinou/contact-shadows-hide-from-editor
Document Light contact shadows often looking broken
2 parents 89d34c8 + 9171737 commit 125e419

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/classes/Light.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
The color of shadows cast by this light.
6363
</member>
6464
<member name="shadow_contact" type="float" setter="set_param" getter="get_param" default="0.0">
65-
Attempts to reduce [member shadow_bias] gap.
65+
Attempts to reduce [member shadow_bias] gap by rendering screen-space contact shadows. This has a performance impact, especially at higher values.
66+
[b]Note:[/b] Contact shadows can look broken, so leaving this property to [code]0.0[/code] is recommended.
6667
</member>
6768
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false">
6869
If [code]true[/code], the light will cast shadows.

0 commit comments

Comments
 (0)