A forest scene with sunlight streaming through trees past a torii gate, with fog in the air.
Terrain scene with fog volumes enabled.Image © sinnwrig · creator-provided, used under MIT

About this resource

Single-bounce ray-marched volumetric fog for URP. Place fog volumes in the scene as components, assign a profile, and tune scale and settings.

Features (per the README)

  • Half- and quarter-resolution rendering with depth-aware upsampling
  • Temporal rendering with reprojection (described as semi-complete)
  • Animated, scrolling 3D noise
  • Cube, capsule, sphere and cylinder volumes with non-uniform scale and rotation
  • All realtime lights, shadows and cookies, up to 32 lights per volume
  • APV global-illumination support on Unity 2023.1+
  • Importable samples for a gas station, a forest and an office building

Lighting is artistic rather than physically based, and fog does not self-shadow.