Sitemap

Creating Fog in Unity

1 min readDec 5, 2025

--

Fog is one of the fastest ways to shape atmosphere and depth in a scene. It blends distant objects into the environment, supports mood, and helps unify lighting across large spaces.

What Fog Does

Fog gradually obscures objects based on distance or height. It softens backgrounds, improves depth perception, and helps scenes feel cohesive. URP and HDRP both handle fog through the Volume system, with HDRP offering additional volumetric options.

Using Fog in Unity

  1. Create a Global Volume
  2. Add a Fog override
  3. Adjust color, density, and distance settings

HDRP allows Volumetric Fog, giving you features like light scattering, thickness control, and atmospheric depth.

When to Use Fog

Fog is effective for:

    Get Abror Shukirlayev’s stories in your inbox

    Join Medium for free to get updates from this writer.

  • Outdoor environments
  • Long sightlines
  • Horror and atmospheric scenes
  • Hiding distant LOD transitions
  • Improving scene cohesion in large spaces

Best Practices

  • Keep fog color aligned with scene lighting
  • Use restrained values to avoid flattening the scene
  • In HDRP, keep volumetrics optimized
  • Use height fog for layered or ground-level atmosphere

Final Takeaway

Fog is a lightweight, high-impact tool for mood and depth. With small adjustments through the Volume system, you can create stronger atmosphere and more believable environments.

--

--

Abror Shukirlayev
Abror Shukirlayev

Written by Abror Shukirlayev

- Indie Game Developer - Student at Tashkent Metropolitan University