diff options
author | Hannah Crawford <hannah@embyr.sh> | 2024-08-12 00:17:11 +0100 |
---|---|---|
committer | Hannah Crawford <hannah@embyr.sh> | 2024-08-12 00:17:11 +0100 |
commit | a54b71bbdfda9bc36534d18bc873cb90016c0a13 (patch) | |
tree | d1f818114c2d21c3d84bce2cfb5eda79da925ec6 /doc/classes/Light3D.xml | |
parent | 88f3b5f9d52f740b24fabfb8bc01b8b7026ba279 (diff) | |
download | redot-engine-a54b71bbdfda9bc36534d18bc873cb90016c0a13.tar.gz |
Add `shadow_caster_mask` to Light3D.
Diffstat (limited to 'doc/classes/Light3D.xml')
-rw-r--r-- | doc/classes/Light3D.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Light3D.xml b/doc/classes/Light3D.xml index bda5fb69de..966d0fdcb4 100644 --- a/doc/classes/Light3D.xml +++ b/doc/classes/Light3D.xml @@ -115,6 +115,9 @@ <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_caster_mask" type="int" setter="set_shadow_caster_mask" getter="get_shadow_caster_mask" default="4294967295"> + The light will only cast shadows using objects in the selected layers. + </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> |