laptopProject Setup

Step-by-Step Guide: Setting Up Your Project for Volumetric Light Rendering in URP

1. Configure Shaders in Graphics Settings

• Open the Graphics Settings:

• In the Unity Editor, go to ā€œEditā€ > ā€œProject Settingsā€¦ā€.

• Select ā€œGraphicsā€ from the list on the left.

• Assign Volumetric Light Shaders:

• Locate the ā€œAlways Included Shadersā€ section within the Graphics Settings.

• Drag and drop the shaders from Project > Dynamics > Volumetric Light > Shaders into this list.

• Make sure all necessary shaders from the Volumetric Light package are included.

Shader Settings

2. Assign the URP Pipeline Asset

• Locate the ā€œScriptable Render Pipeline Settingsā€ Field:

• In the Graphics Settings window, find the ā€œScriptable Render Pipeline Settingsā€ field.

• Assign the Pc_High Pipeline Asset:

• Drag the Pc_High pipeline asset from Project > Dynamics > Volumetric Light > Settings into the ā€œScriptable Render Pipeline Settingsā€ field.

• This ensures that the Pc_High asset is used as the Universal Render Pipeline (URP) Asset for your project.

Pipeline Asset

3. Assign URP Global Settings

• Scroll Down to the URP Global Settings Section:

• Still in the Graphics Settings window, scroll down to find the ā€œURP Global Settingsā€ section.

• Assign the UniversalRenderPipelineGlobalSettings:

• Drag the UniversalRenderPipelineGlobalSettings asset from Project > Dynamics > Volumetric Light > Settings into the ā€œURP Global Settingsā€ field.

• This sets the global settings for URP in your project.

URP Global Settings

4. Clean Up Other Settings Files

• Locate Default URP Settings:

• Navigate to Assets > Settings in your Project window.

• If your project was created using the URP template, this folder may contain default settings files.

• Remove Unnecessary Settings Files:

• Delete any other URP settings files in the Assets > Settings folder that are not part of the Volumetric Light package to avoid conflicts.

• To delete a file, right-click on it and select ā€œDeleteā€.

5. Verify and Save Your Project Setup

• Double-check Your Graphics Settings:

• Ensure that the Pc_High pipeline asset and the UniversalRenderPipelineGlobalSettings are correctly assigned.

• Save Your Project by clicking ā€œFileā€ > ā€œSave Projectā€ in the Unity Editor.

Last updated