Setup

beginner concepts

Volumetric Fog & Mist 2 (URP) · Core Concepts

Setup & Configuration

Complete these steps to configure your URP project for Volumetric Fog & Mist 2.

Step 1 — Install Universal Render Pipeline

Open Window > Package Manager, find Universal RP and click Install (version 14+ recommended for Unity 2022.3+).

Step 2 — Assign the URP Asset

Go to Project Settings > Graphics and assign a Universal Render Pipeline Asset. You can use the asset included in the demo folder (Volumetric Fog 2/Demo/URP Pipeline Settings).

URP Asset assignment in Graphics settings

Step 3 — Enable Depth Texture

Double-click the URP Asset to open its Inspector. Enable Depth Texture. Enabling MSAA is also recommended.

URP Asset with Depth Texture enabled

Important: Check both Project Settings > Graphics and Project Settings > Quality. Each quality level can reference a different URP asset — enable Depth Texture in all of them.

Step 4 — Verify Renderer Settings

SettingLocationRequired Value
Depth TextureURP AssetEnabled
Depth Texture ModeURP AssetAfter Opaques or Depth PrePass
Transparent Receive ShadowsURP Renderer DataEnabled (for fog shadow reception)

Optional — Render Features

For advanced transparency support (depth pre-pass, depth peeling), add these render features to your URP Renderer Data asset:

  1. Open the Forward Renderer asset (double-click from the URP Asset).
  2. Click Add Renderer Feature and add DepthRenderPrePassFeature.
  3. Optionally add the Volumetric Fog 2 Render Feature for depth peeling support.

Adding DepthRenderPrePassFeature to URP Renderer

Video Setup Guide

Was this page helpful?