Use Probe Volumes
This page provides the basic workflow you need to use Probe Volumes in your project.
Add and bake a Probe Volume
Enable Probe Volumes
- From the main menu, select Edit > Project Settings > Quality.
- In the Rendering section, double-click the active Render Pipeline Asset to open it in the Inspector window.
- In the Lighting section, set Light Probe System to Probe Volumes.
Add a Probe Volume to the Scene
- From the main menu, select GameObject > Light > Probe Volumes > Probe Volume.
- In the Inspector for the Probe Volume, set Mode to Global to make this Probe Volume cover your entire Scene.
Adjust your Light and Mesh Renderer settings
- To include a Light in a Probe Volume's baked lighting data, open the Inspector for the Light then set the Light Mode to Mixed or Baked.
- To include a GameObject in a Probe Volume's baked lighting data, open the Inspector for the GameObject and enable Contribute Global Illumination.
- To make a GameObject receive baked lighting, open the Inspector for the GameObject and set Receive Global Illumination to Light Probes.
Bake your lighting
- From the main menu, select Window > Rendering > Lighting.
- Select the Probe Volumes panel.
- Set Baking Mode to Single Scene.
- Select Generate Lighting.
If no scene in the Baking Set contains a Probe Volume, Unity asks if you want to create a Probe Volume automatically.
You can change baking settings in the Lighting window's Lightmapping Settings.
Refer to Bake different lighting setups with Baking Sets for more information about Baking Sets.
If there are visual artefacts in baked lighting, such as dark blotches or light leaks, refer to Fix issues with Probe Volumes.
Configure a Probe Volume
You can use the following to configure a Probe Volume:
- Use the Probe Volumes panel in the Lighting window to change the probe spacing and behaviour in all the Probe Volumes in a Baking Set.
- Use the settings in the Probe Volume Inspector window to change the Probe Volume size and probe density.
- Add a Probe Adjustment Volume component to the Probe Volume, to make probes invalid in a small area or fix other lighting issues.
- Add a Volume to your scene with a Probe Volumes Options Override, to change the way URP samples Probe Volume data when the camera is inside the volume. This doesn't affect baking.