Creating Fog in Unity
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
- Create a Global Volume
- Add a Fog override
- 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:
- Outdoor environments
- Long sightlines
- Horror and atmospheric scenes
- Hiding distant LOD transitions
- Improving scene cohesion in large spaces
Get Abror Shukirlayev’s stories in your inbox
Join Medium for free to get updates from this writer.
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.









