This package supports volumetric lighting rendering for both the main and additional lights (Directional, Spot, Point) in URP.
(Unity 2022.3, 2023.1, 2023.2 or Unity 6)

1) Download and install the Unity-URP-Volumetric-Light Unity package provided by the GitHub website below
https://github.com/CristianQiu/Unity-URP-Volumetric-Light
2) Add volumetric fog renderer features to URP renderer.

Directional Light
3)Add a main light (Directional Light) to the scene.

4) Enable Post Processing on the camera or URP renderer.

5) Create a volume in the scene and add Volumetric Fog to the profile.

6) Check the Enabled property at the bottom of Volumetric Fog.
Check the light that will use Volumetric Fog (Enable Main Light) and set the distance.

7) You can see the Volumetric Fog effect of Main Light in the scene and camera.

8) Sets the intensity or direction of the light.

Additional Light (Spot, Point)
9) Add lights(Spot, Point) to the scene

10) Add a Volumetric Additional Light component to the Spot, Point light object and set its properties (anisotropy, scattering, radius)

11) Check Enable Additional Light in Volumetric Fog.

12)You can see the Volumetric Fog effect of Spot and Point lights in the scene.


Leave a Reply