diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-31 11:25:11 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-31 11:25:11 +0200 |
commit | ee03e39da746b41cd9f1b8785e94a8f827eaf731 (patch) | |
tree | 25b38c8b7b5af2298bf9cedfd383c92d11d51cf0 /doc/classes/Light3D.xml | |
parent | db5ea78b7bf85ddd9109fa4ac03a7178d446cb58 (diff) | |
download | redot-engine-ee03e39da746b41cd9f1b8785e94a8f827eaf731.tar.gz |
doc: Sync classref with current source
Diffstat (limited to 'doc/classes/Light3D.xml')
-rw-r--r-- | doc/classes/Light3D.xml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/classes/Light3D.xml b/doc/classes/Light3D.xml index 6979efa569..d4d574627f 100644 --- a/doc/classes/Light3D.xml +++ b/doc/classes/Light3D.xml @@ -77,6 +77,8 @@ <member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow" default="false"> If [code]true[/code], the light will cast shadows. </member> + <member name="shadow_fog_fade" type="float" setter="set_param" getter="get_param" default="1.0"> + </member> <member name="shadow_normal_bias" type="float" setter="set_param" getter="get_param" default="2.0"> Offsets the lookup into the shadow map by the object's normal. This can be used to reduce self-shadowing artifacts without using [member shadow_bias]. In practice, this value should be tweaked along with [member shadow_bias] to reduce artifacts as much as possible. </member> @@ -138,10 +140,12 @@ <constant name="PARAM_SHADOW_BLUR" value="16" enum="Param"> Constant for accessing [member shadow_blur]. </constant> - <constant name="PARAM_TRANSMITTANCE_BIAS" value="17" enum="Param"> + <constant name="PARAM_SHADOW_VOLUMETRIC_FOG_FADE" value="17" enum="Param"> + </constant> + <constant name="PARAM_TRANSMITTANCE_BIAS" value="18" enum="Param"> Constant for accessing [member shadow_transmittance_bias]. </constant> - <constant name="PARAM_MAX" value="18" enum="Param"> + <constant name="PARAM_MAX" value="19" enum="Param"> Represents the size of the [enum Param] enum. </constant> <constant name="BAKE_DISABLED" value="0" enum="BakeMode"> |