|
4821 | 4821 | <constant name="LIGHT_PARAM_SPOT_ATTENUATION" value="8" enum="LightParam"> |
4822 | 4822 | The spotlight's attenuation. |
4823 | 4823 | </constant> |
4824 | | - <constant name="LIGHT_PARAM_SHADOW_MAX_DISTANCE" value="11" enum="LightParam"> |
| 4824 | + <constant name="LIGHT_PARAM_SHADOW_MAX_DISTANCE" value="9" enum="LightParam"> |
4825 | 4825 | The maximum distance for shadow splits. Increasing this value will make directional shadows visible from further away, at the cost of lower overall shadow detail and performance (since more objects need to be included in the directional shadow rendering). |
4826 | 4826 | </constant> |
4827 | | - <constant name="LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET" value="12" enum="LightParam"> |
| 4827 | + <constant name="LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET" value="10" enum="LightParam"> |
4828 | 4828 | Proportion of shadow atlas occupied by the first split. |
4829 | 4829 | </constant> |
4830 | | - <constant name="LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET" value="13" enum="LightParam"> |
| 4830 | + <constant name="LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET" value="11" enum="LightParam"> |
4831 | 4831 | Proportion of shadow atlas occupied by the second split. |
4832 | 4832 | </constant> |
4833 | | - <constant name="LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET" value="14" enum="LightParam"> |
| 4833 | + <constant name="LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET" value="12" enum="LightParam"> |
4834 | 4834 | Proportion of shadow atlas occupied by the third split. The fourth split occupies the rest. |
4835 | 4835 | </constant> |
4836 | | - <constant name="LIGHT_PARAM_SHADOW_FADE_START" value="15" enum="LightParam"> |
| 4836 | + <constant name="LIGHT_PARAM_SHADOW_FADE_START" value="13" enum="LightParam"> |
4837 | 4837 | Proportion of shadow max distance where the shadow will start to fade out. |
4838 | 4838 | </constant> |
4839 | | - <constant name="LIGHT_PARAM_SHADOW_NORMAL_BIAS" value="16" enum="LightParam"> |
| 4839 | + <constant name="LIGHT_PARAM_SHADOW_NORMAL_BIAS" value="14" enum="LightParam"> |
4840 | 4840 | Normal bias used to offset shadow lookup by object normal. Can be used to fix self-shadowing artifacts. |
4841 | 4841 | </constant> |
4842 | | - <constant name="LIGHT_PARAM_SHADOW_BIAS" value="17" enum="LightParam"> |
| 4842 | + <constant name="LIGHT_PARAM_SHADOW_BIAS" value="15" enum="LightParam"> |
4843 | 4843 | Bias for the shadow lookup to fix self-shadowing artifacts. |
4844 | 4844 | </constant> |
4845 | | - <constant name="LIGHT_PARAM_SHADOW_PANCAKE_SIZE" value="18" enum="LightParam"> |
| 4845 | + <constant name="LIGHT_PARAM_SHADOW_PANCAKE_SIZE" value="16" enum="LightParam"> |
4846 | 4846 | Sets the size of the directional shadow pancake. The pancake offsets the start of the shadow's camera frustum to provide a higher effective depth resolution for the shadow. However, a high pancake size can cause artifacts in the shadows of large objects that are close to the edge of the frustum. Reducing the pancake size can help. Setting the size to [code]0[/code] turns off the pancaking effect. |
4847 | 4847 | </constant> |
4848 | | - <constant name="LIGHT_PARAM_SHADOW_OPACITY" value="19" enum="LightParam"> |
| 4848 | + <constant name="LIGHT_PARAM_SHADOW_OPACITY" value="17" enum="LightParam"> |
4849 | 4849 | The light's shadow opacity. Values lower than [code]1.0[/code] make the light appear through shadows. This can be used to fake global illumination at a low performance cost. |
4850 | 4850 | </constant> |
4851 | | - <constant name="LIGHT_PARAM_SHADOW_BLUR" value="20" enum="LightParam"> |
| 4851 | + <constant name="LIGHT_PARAM_SHADOW_BLUR" value="18" enum="LightParam"> |
4852 | 4852 | Blurs the edges of the shadow. Can be used to hide pixel artifacts in low resolution shadow maps. A high value can make shadows appear grainy and can cause other unwanted artifacts. Try to keep as near default as possible. |
4853 | 4853 | </constant> |
4854 | | - <constant name="LIGHT_PARAM_TRANSMITTANCE_BIAS" value="21" enum="LightParam"> |
| 4854 | + <constant name="LIGHT_PARAM_TRANSMITTANCE_BIAS" value="19" enum="LightParam"> |
4855 | 4855 | </constant> |
4856 | | - <constant name="LIGHT_PARAM_INTENSITY" value="22" enum="LightParam"> |
| 4856 | + <constant name="LIGHT_PARAM_INTENSITY" value="20" enum="LightParam"> |
4857 | 4857 | Constant representing the intensity of the light, measured in Lumens when dealing with a [SpotLight3D] or [OmniLight3D], or measured in Lux with a [DirectionalLight3D]. Only used when [member ProjectSettings.rendering/lights_and_shadows/use_physical_light_units] is [code]true[/code]. |
4858 | 4858 | </constant> |
4859 | 4859 | <constant name="LIGHT_PARAM_MAX" value="23" enum="LightParam"> |
|
0 commit comments