Rasagar/Library/PackageCache/com.unity.render-pipelines.universal/Documentation~/probevolumes-use.md
2024-08-26 23:07:20 +03:00

3.4 KiB

uid
urp-probevolumes-use

Use Adaptive Probe Volumes

This page provides the basic workflow you need to use Adaptive Probe Volumes in your project.

Add and bake an Adaptive Probe Volume

Enable Adaptive Probe Volumes

  1. From the main menu, select Edit > Project Settings > Quality.
  2. In the Rendering section, double-click the active Render Pipeline Asset to open it in the Inspector window.
  3. In the Lighting section, set Light Probe System to Adaptive Probe Volumes.

Add an Adaptive Probe Volume to the Scene

  1. From the main menu, select GameObject > Light > Adaptive Probe Volumes > Adaptive Probe Volume.
  2. In the Inspector for the Adaptive Probe Volume, set Mode to Global to make this Adaptive Probe Volume cover your entire Scene.

Adjust your Light and Mesh Renderer settings

  1. To include a Light in an Adaptive Probe Volume's baked lighting data, open the Inspector for the Light then set the Light Mode to Mixed or Baked.
  2. To include a GameObject in an Adaptive Probe Volume's baked lighting data, open the Inspector for the GameObject and enable Contribute Global Illumination.
  3. To make a GameObject receive baked lighting, open the Inspector for the GameObject and set Receive Global Illumination to Light Probes.

Bake your lighting

  1. From the main menu, select Window > Rendering > Lighting.
  2. Select the Adaptive Probe Volumes panel.
  3. Set Baking Mode to Single Scene.
  4. Select Generate Lighting.

If no scene in the Baking Set contains an Adaptive Probe Volume, Unity asks if you want to create an Adaptive 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 Adaptive Probe Volumes.

Configure an Adaptive Probe Volume

You can use the following to configure an Adaptive Probe Volume:

Additional resources