Introduction
beginner start hereVolumetric Lights 2 (URP) · Start Here
What is Volumetric Lights 2?
Volumetric Lights 2 is a lightweight, high-performance volumetric lighting solution for Unity’s Universal Render Pipeline (URP). It adds realistic god-rays, light shafts, and atmospheric scattering to your scenes using an optimized ray-marching algorithm.
The asset supports spot, point, and area lights, with independent shadow maps, translucent shadow casting, dust particles, cookie textures, noise-driven animation, and direct light projection — all rendered in real time on desktop and mobile.
Pipeline: This version is built exclusively for the Universal Render Pipeline. It will not work with Built-in or HDRP. For the Built-in version, see the Built-in docs.
Key Features
- Optimized ray-marching with configurable quality presets
- Per-light shadow occlusion with baked or real-time shadow maps
- Translucent shadow maps — colored shadows through stained glass or transparent objects
- Direct light cast — illuminate opaque surfaces from the volumetric volume
- Cookie texture projection for spot lights
- 3D noise animation with configurable wind direction
- Dust particles rendered inside the light volume
- Global composition blur via a URP Render Feature for smooth blending
- Depth pre-pass Render Feature for transparency support
- Auto-toggle (LOD) — distance-based dimming and deactivation
- Profiles (ScriptableObjects) for saving and sharing light presets
- Full C# scripting API
Requirements
| Requirement | Details |
|---|---|
| Unity version | 2022.3 LTS or later |
| Render pipeline | Universal Render Pipeline (URP) |
| Depth Texture | Must be enabled in the URP Asset |
| Platforms | Windows, macOS, Linux, iOS, Android, WebGL, consoles |
| Light types | Spot, Point, Area (Rectangle & Disc) |
Next Steps
- Quick Start — add your first volumetric light in 5 minutes
- Setup — detailed URP configuration steps
- Parameters — full reference of all inspector settings
- Demo Scenes — explore the included example scenes
Was this page helpful?
Suggest an improvement
Help us improve this documentation page.