Skip to content

Remove outdated reference to fog transmission in Environment and post-processing #10868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions tutorials/3d/environment_and_post_processing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,19 @@ Both of these fog types can have their curve tweaked, making their transition mo

Two properties can be tweaked to make the fog effect more interesting:

The first is **Sun Amount**, which makes use of the Sun Color property of the fog.
When looking towards a directional light (usually a sun), the color of the fog
will be changed, simulating the sunlight passing through the fog.

The second is **Transmit Enabled** which simulates more realistic light transmittance.
In practice, it makes light stand out more across the fog.

.. image:: img/environment_fog_transmission.webp
The first is **Sun Scatter**, which makes use of the DirectionalLight3D's color
and energy in the current scene. When looking towards the directional light
(usually a sun), the fog will be tinted according to the light's color to
simulate the sunlight passing through the fog.

The second is **Aerial Perspective**, which tints the fog color according to the
sky color to better blend the sky with the background. Higher values will result
in more tinting, with ``1.0`` fully replacing the regular fog color with aerial
perspective. This can be used in large open world levels to provide a better
sense of depth, or to avoid color discontinuities between the sky and fog colors.

If both **Sun Scatter** and **Aerial Perspective** are greater than ``0.0``, sun
scattering is applied on top of aerial perspective.

.. note::

Expand Down
Binary file removed tutorials/3d/img/environment_fog_transmission.webp
Binary file not shown.
Loading