diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-10-07 17:57:49 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-10-07 17:59:55 +0200 |
commit | 0269d8e871e9df663af7ee90cb4156fb3a6288f8 (patch) | |
tree | 29721e1e5136b5e7fb4351b76cc1cbcb4572a105 /doc/classes | |
parent | f323d25dd3ba2be5ff491d34df2fbcc3b5ab1efc (diff) |
Clamp Environment's SSR fade-in and fade-out to positive values
Negative values result in rendering glitches.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Environment.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 2c4e5ea886..8231a90438 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -204,10 +204,10 @@ If [code]true[/code], screen-space reflections are enabled. Screen-space reflections are more accurate than reflections from [VoxelGI]s or [ReflectionProbe]s, but are slower and can't reflect surfaces occluded by others. </member> <member name="ss_reflections_fade_in" type="float" setter="set_ssr_fade_in" getter="get_ssr_fade_in" default="0.15"> - The fade-in distance for screen-space reflections. Affects the area from the reflected material to the screen-space reflection). + The fade-in distance for screen-space reflections. Affects the area from the reflected material to the screen-space reflection). Only positive values are valid (negative values will be clamped to [code]0.0[/code]). </member> <member name="ss_reflections_fade_out" type="float" setter="set_ssr_fade_out" getter="get_ssr_fade_out" default="2.0"> - The fade-out distance for screen-space reflections. Affects the area from the screen-space reflection to the "global" reflection. + The fade-out distance for screen-space reflections. Affects the area from the screen-space reflection to the "global" reflection. Only positive values are valid (negative values will be clamped to [code]0.0[/code]). </member> <member name="ss_reflections_max_steps" type="int" setter="set_ssr_max_steps" getter="get_ssr_max_steps" default="64"> The maximum number of steps for screen-space reflections. Higher values are slower. |