diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-28 21:28:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-28 21:28:39 +0200 |
commit | ebf293d545b30b69fa99eacb2c4ead4ddbc7710b (patch) | |
tree | bd6db39bae64995a725faf0f26c1bd792a588c66 /doc/classes/Environment.xml | |
parent | 4a6b445a93905a9fa86e841d9cf74b4932a3c4d0 (diff) | |
parent | bc1b2b96e1e10d5d44d5d3357fb733279b76a609 (diff) |
Merge pull request #31717 from Calinou/tweak-default-fog-depth-end
Tweak the default fog depth end to use a fixed value
Diffstat (limited to 'doc/classes/Environment.xml')
-rw-r--r-- | doc/classes/Environment.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 86c1002666..fcbd8a2193 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -146,10 +146,11 @@ <member name="fog_depth_enabled" type="bool" setter="set_fog_depth_enabled" getter="is_fog_depth_enabled" default="true"> Enables the fog depth. </member> - <member name="fog_depth_end" type="float" setter="set_fog_depth_end" getter="get_fog_depth_end" default="0.0"> + <member name="fog_depth_end" type="float" setter="set_fog_depth_end" getter="get_fog_depth_end" default="100.0"> + Fog's depth end distance from the camera. If this value is set to 0, it will be equal to the current camera's [member Camera.far] value. </member> <member name="fog_enabled" type="bool" setter="set_fog_enabled" getter="is_fog_enabled" default="false"> - Enables the fog. Needs fog_height_enabled and/or for_depth_enabled to actually display fog. + Enables the fog. Needs [member fog_height_enabled] and/or [member fog_depth_enabled] to actually display fog. </member> <member name="fog_height_curve" type="float" setter="set_fog_height_curve" getter="get_fog_height_curve" default="1.0"> Value defining the fog height intensity. |