You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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].
Copy file name to clipboardExpand all lines: doc/classes/RenderingServer.xml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2137,6 +2137,14 @@
2137
2137
If [code]true[/code], light will cast shadows. Equivalent to [member Light3D.shadow_enabled].
2138
2138
</description>
2139
2139
</method>
2140
+
<methodname="light_set_shadow_caster_mask">
2141
+
<returntype="void" />
2142
+
<paramindex="0"name="light"type="RID" />
2143
+
<paramindex="1"name="mask"type="int" />
2144
+
<description>
2145
+
Sets the shadow caster mask for this 3D light. Shadows will only be cast using objects in the selected layers. Equivalent to [member Light3D.shadow_caster_mask].
0 commit comments