Fog Volume Settings

intermediate concepts

Volumetric Fog & Mist 2 (URP) · Core Concepts

Volumetric Fog Volume Settings

Each Volumetric Fog volume is configured through a Fog Profile. Below is a complete reference of all profile parameters.

Creating a Fog Volume

  1. Right-click in the Hierarchy and select Effects > Volumetric Fog & Mist 2 > Fog Volume.
  2. Click New Fog Profile or assign an existing profile.
  3. Position and scale the volume using the Transform component.

Creating a Volumetric Fog volume

Ray Marching

ParameterDescriptionDefault
Raymarch QualityNumber of samples used by the shader. Lower values improve performance.Medium
Raymarch Near Distance QualityExtra samples near the camera. A value of 8 covers ~9 m with boosted density that fades to normal. Higher values push this zone farther.8
Raymarch Min StepMinimum step size between samples. Increasing improves performance but reduces accuracy.0.1
DitheringReduces banding artifacts when fog renders in front of solid surfaces.1
JitteringReduces banding artifacts on fog edges.0.5

Noise

ParameterDescriptionDefault
Noise Texture3D noise texture for fog shape. Custom textures can be found in demo folders or generated via the Noise Generator tool.Built-in
Noise StrengthHow strongly noise affects fog shape.1
Noise Scale / Final MultiplierSize and final amplitude of the noise pattern.1 / 1
Use Detail NoiseCombines primary noise with additional 3D detail noise for more compelling fog.Off
Detail Noise TextureCustom 3D detail texture (red channel only). Additional textures in the demo folder.Built-in
Scale Noise With HeightAutomatically adapts the noise frequency to the fog volume's height. At 0, noise scale is fixed regardless of volume size. At 1, noise fully scales with the volume's Y dimension - useful for maintaining consistent cloud appearance across different world scales.0
Constant DensityWhen enabled, disables noise entirely for a smooth, uniform fog. Saves performance.Off

Density & Shape

ParameterDescriptionDefault
DensityOverall fog density. Low values produce subtle mist; high values produce thick fog.1
ShapeBox or Sphere shape for the fog volume.Box
BorderSmooth fog volume edges to avoid hard cutoffs.0.1
DistanceDistance from camera at which fog starts rendering.0
Distance Fall OffGradient length for the distance start/end transition.0
Max DistanceMaximum distance for fog rendering. Reduce for better performance.
Max Distance FallOffSmooth fade at the maximum distance boundary.0

Color & Appearance

ParameterDescriptionDefault
AlbedoBase color and transparency of the fog.White (semi-transparent)
BrightnessOverall brightness multiplier.1
Deep ObscuranceDarkens fog at the center of the volume for added depth perception.0
Distance Near Color / Far ColorTints fog based on distance to camera. Active only when Distance > 0.White / White
Depth GradientColor gradient based on distance to camera (requires a gradient texture).Off
Height GradientColor gradient based on vertical position. Symmetrical above and below volume center.Off

Lighting

ParameterDescriptionDefault
Light Diffusion Power / IntensityControls directional light scattering through the fog (god rays).
Specular Color / Threshold / IntensitySimulated light reflections on the fog surface.
Receive ShadowsEnables shadow reception from the directional light.Off
Shadow IntensityControls the darkness of received shadows.0.5
Shadow Max DistanceMaximum distance for shadow computation. Reduce for performance.
Use Day Night CycleSyncs fog intensity/color with Sun and Moon (assigned in Volumetric Fog Manager).Off

Animation

ParameterDescriptionDefault
TurbulenceAnimation speed of the fog noise over time.0
Wind DirectionDirection vector for fog movement.(1, 0, 0)

The Volumetric Fog Manager

Created automatically when you add the first fog volume. The manager exposes global settings:

ParameterDescription
Main CameraCamera used for fog rendering. Auto-detected if not set.
SunDirectional light used as the primary light source.
MoonOptional secondary directional light for day/night cycle.
DownscalingReduces fog rendering resolution. Values of 1.25–2.0 improve performance.
BlurPost-process blur to smooth noise artifacts.
Flip Depth TextureWorkaround for inverted depth bugs in certain URP versions.
Shader OptionsAdvanced shader settings (blue noise, orthographic camera, max iterations, etc.).

Rendering

ParameterDescription
Render QueueControls rendering order relative to other transparent objects.
Rendering Layer MaskControls which lights affect this fog volume (requires Rendering Layers in URP).
Update ModeWhen Visible — updates only when the camera can see the volume. When Camera Inside Area — updates while camera is within a boundary.
Was this page helpful?