A simple and fast volumetric fog + shadows renderer feature for Unity URP.

Quickstart (Overview)

This effect works as a renderer feature for URP. There is an included demo scene + render pipeline asset with the feature already setup for quick previewing.

  1. Navigate to the Scenes folder and open the Demo.

Mirza Beig/Volumetric Fog (Lite)/Scenes/…

Mirza Beig/Volumetric Fog (Lite)/Scenes/…

Demo scene, with volumetric fog renderer feature not setup.

Demo scene, with volumetric fog renderer feature not setup.

  1. Navigate to the included Settings folder to find the demo renderer asset, then assign this to the current Render Pipeline Asset in your Project Settings → Quality.

The included render pipeline asset, URP-VolumetricFogLite:
Mirza Beig/Volumetric Fog (Lite)/Settings/…

The included render pipeline asset, URP-VolumetricFogLite: Mirza Beig/Volumetric Fog (Lite)/Settings/…

Project Settings → Quality → Rendering → Render Pipeline Asset:

Project Settings → Quality → Rendering → Render Pipeline Asset:

  1. Done.

Fog is now rendering.

Fog is now rendering.

Volumetric shadows should work.

Volumetric shadows should work.

DIY

Add ‘Volumetric Renderer Feature Lite’ to your URP renderer data asset.

Volumetric Fog renderer feature for URP.

Volumetric Fog renderer feature for URP.

You’ll need to assign the Fog, Depth, and Composite materials.

These are found under the materials folder:

Mirza Beig/Volumetric Fog/Materials/Fog/…

Mirza Beig/Volumetric Fog/Materials/Fog/…