Introduction
beginner start hereDynamic Fog & Mist 2 (URP) · Start Here
What is Dynamic Fog & Mist 2?
Dynamic Fog & Mist 2 is a lightweight, high-performance fog effect for Unity's Universal Render Pipeline (URP). It produces animated landscape fog, volumetric mist, and a built-in fog of war system — all from a single post-processing pass.
The effect uses ray-marching and 3D noise to create natural-looking, animated fog volumes that react to lighting conditions. Because the fog is rendered as a screen-space effect, it works on any scene geometry without requiring custom shaders on your objects.
URP only. This version of Dynamic Fog & Mist has been built from scratch for Universal Render Pipeline. If your project uses the Built-in pipeline, use the Built-in version instead.
Key Features
Fog Rendering
- Ray-marched volumetric fog — realistic depth-aware fog that respects scene geometry.
- 3D noise animation — turbulence, wind direction and speed produce natural fog movement.
- Height-based density — configurable base altitude and max height for valley or ground fog.
- Distance-based rendering — maximum draw distance for performance control.
- Vertical gradient — color gradient from ground to top for atmospheric depth.
Lighting & Color
- Light scattering — configurable diffusion power and intensity for sun/moon glow.
- Sun color integration — automatically matches the directional light color.
- Tint color & brightness — per-volume color customization.
- Noise color blending — secondary color mixed through the noise pattern.
Fog of War
- Texture-based visibility — a 2D texture controls fog opacity across the world.
- Runtime clearing/restoring — reveal areas as the player explores, with optional auto-restore.
- Built-in editor — paint fog of war masks directly in the Scene view.
Volume System
- Multiple fog volumes — place independent fog areas throughout your scene.
- Sub-volumes — override fog appearance in specific zones with smooth transitions.
- Profile system — save and share fog presets via ScriptableObject profiles.
Requirements
| Requirement | Minimum |
|---|---|
| Unity version | 2022.3 LTS or later |
| Render pipeline | Universal Render Pipeline (URP) |
| URP Depth Texture | Must be enabled in URP Asset |
Resources
| Resource | Link |
|---|---|
| Asset Store | Dynamic Fog & Mist 2 (URP) |
| Support | kronnect.com/support |
| Video Overview | YouTube |
Was this page helpful?
Suggest an improvement
Help us improve this documentation page.