Performance Tips

intermediate performance

Volumetric Fog & Mist 2 (URP) · Troubleshooting & FAQ

Performance Optimization

Volumetric Fog uses an optimized ray-marching algorithm. The following settings have the biggest impact on performance, ordered from most to least effective.

High Impact

SettingLocationRecommendation
DownscalingVolumetric Fog ManagerIncrease to 1.5–2.0 to render fog at lower resolution. This is the single most impactful optimization.
Raymarch QualityFog ProfileReduce to lower the number of texture samples per pixel.
Raymarch Min StepFog ProfileIncrease to reduce sample count. Causes less accurate fog with more artifacts.
Max DistanceFog ProfileReduce and use Max Distance FallOff to smooth the fade. Combine with Distant Fog for background haze.
MAX_ITERATIONSVolumetric Fog Manager > Shader OptionsDefault is 500. Reduce for small fog areas. This is a maximum cap — actual iterations are usually lower.

Medium Impact

SettingLocationRecommendation
Detail NoiseFog ProfileDisable to remove an extra Texture3D sample per ray-march step.
Shadow Max DistanceFog ProfileReduce to limit shadow computation range.
Native LightsFog ProfileSwitch to Fast Point Lights for better performance (up to 16 point lights, no shadows).
Depth Texture ModeURP RendererSet to Force Prepass for mobile and VR.
Fog VoidsSceneReplace with Fog of War if using many voids.

Low Impact

SettingLocationRecommendation
Depth / Height GradientsFog ProfileThese add small texture samples. Negligible on PC but may affect mobile.
Final Texture SizeFog Profile > NoiseReduce the noise texture resolution for mobile devices.
Render ScaleURP AssetReduce overall framebuffer resolution. Especially useful on high-DPI mobile screens.
Constant DensityFog ProfileEnable for a smooth, noise-free fog that skips noise computation entirely.

Alternative Approaches

  • Distant Fog — a fast noise-free fog option that can replace or complement volumetric fog. Set volumetric Density to 0 to use Distant Fog alone.
  • Dynamic Fog & Mist — lighter alternative for simple atmospheric haze without ray-marching.
  • Update Mode — set to When Fog Volume is Visible or When Camera is Inside Area to skip updates on off-screen volumes.
Tip: Always use the latest version of the asset. Each release includes performance improvements and optimizations.
Was this page helpful?