From 8c21c26fb559503cedc41eebd7806d05d10874a2 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Thu, 20 Aug 2020 22:48:04 -0700 Subject: Add aerial perspective to fixed fog --- doc/classes/Environment.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 8afc18f91b..065bd91765 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -98,6 +98,10 @@ The background mode. See [enum BGMode] for possible values. + + Blend factor between the fog's color and the color of the background [Sky]. Must have [member background_mode] set to [constant BG_SKY]. + This is useful to simulate [url=https://en.wikipedia.org/wiki/Aerial_perspective]aerial perspective[/url] in large scenes with low density fog. However, it is not very useful for high-density fog, as the sky will shine through. When set to [code]1.0[/code], the fog color comes completely from the [Sky]. If set to [code]0.0[/code], aerial perspective is disabled. + -- cgit v1.2.3