An Adaptive Probe Volume is a group of Light Probes that Unity places automatically based on the geometry density in your Scene, to create baked indirect lighting. You can use Adaptive Probe Volumes instead of manually placing and configuring Light Probes.
Feature | Light Probe Groups | Adaptive Probe Volumes |
---|---|---|
Selection of surrounding probes | Per GameObject | Per pixel |
Optimize memory use with streaming | No | Yes |
Place probes automatically | No | Yes |
Blend between different bakes | No | Yes |
Place probes manually | Yes | No |
Adaptive Probe Volumes have the following advantages:
The car model is made up of separate GameObjects. The left scene uses Light Probe Groups, which use per-object lighting, so each part of the car samples a single blended probe value. The right scene uses Adaptive Probe Volumes, which use per-pixel lighting, so each part of the car samples its nearest probes. This image uses the ArchVizPRO Photostudio URP asset from the Unity Asset Store.
Adaptive Probe Volumes have the following limitations:
The Universal Render Pipeline (URP) automatically fills an Adaptive Probe Volume with a 3D structure of ‘bricks’. Each brick contains 64 Light Probes, arranged in a 4 × 4 × 4 grid.
URP uses bricks with different sizes to match the amount of geometry in different areas of your scene. For example, in areas with more geometry, URP uses small bricks with a short distance between Light Probes. The Light Probes capture lighting at a higher resolution, so lighting is more accurate.
The default Light Probe spacing is 1, 3, 9, or 27 m.
In this screenshot from the Rendering Debugger, the small purple bricks contain Light Probes spaced 1 meter apart, to capture data from high-geometry areas. The large blue bricks contain Light Probes spaced 3 meters apart, to capture data from areas with less geometry.
Each pixel of a GameObject samples lighting data from the eight closest Light Probes around it.
You can do the following:
To store lighting from a scene in an Adaptive Probe Volume, the scene must be part of a Baking Set.
A Baking Set contains the following:
By default, URP uses Single Scene mode, and places each scene in its own Baking Set automatically. However, only one Baking Set can be active at any time, so if you work with multiple scenes, you must add these scenes to a single Baking Set if you want to bake them together. Refer to Bake multiple scenes together with Baking Sets for more information.
A Lighting Scenario asset contains the baked lighting data for a scene or Baking Set. You can bake different lighting setups into different Lighting Scenario assets, and change which one URP uses at runtime, or blend between them.
Refer to Bake different lighting setups with Lighting Scenarios for more information.
Adaptive Probe Volumes splits Lighting Scenario data into two parts, to avoid duplicating data:
URP can’t share the data or blend between Lighting Scenarios if you move geometry between bakes, because the Light Probe positions might change. Refer to Keep Light Probes the same in different Lighting Scenarios for more information.