Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using the Fog Volume Component

In this tutorial, we are going to explain the fog volume component and how to set it up. The fog volume creates fog in a specific area. I would also recommend seeing the Entity Components documentation to understand or look up what the specific attributes do.

...

Now we can see the level again but the fog is thicker on the right side, that's because the "Height Falloff Scale" attribute is 1 by default. Changing it to 0 will remove the falloff and the fog is the same density everywhere. It's also possible to change the color of the fog or to use the global fog color defined by the Environment Editor (Old as of 26/2). Just click on the color field right next to the "Color" attribute and pick any color.

...