Volume Overrides
Volume Overrides are structures which contain values that override the default properties in a Volume Profile. The Universal Render Pipeline (URP) uses these Profiles within the Volume framework. For example, you could use a Volume Override in your Unity Project to darken the outside edges of yours Scene.
Each Volume Override property has a checkbox on its left. Enable the checkbox to make that property editable. This also tells URP to use that property for this Volume component rather than the default value. If you disable the checkbox, URP ignores the property you set and uses the Volume’s default value for that property instead.
Override checkboxes allow you to override as many or as few values on a Volume component as you want. To quickly toggle all the properties between editable or not, click the All or None shortcuts in the top left of the Volume Override respectively.
Using Volume Overrides
To render both a global vignette and a local vignette in a certain area of your Scene:
- Create a global Volume (menu: GameObject > Volume > Global Volume).
- Click the New button next to the Profile property to add a new Volume Profile to the Volume.
- Select Add Override > Vignette, and leave it with the default settings.
- Create a local Volume. To add a Local Volume with a box boundary, select GameObject > Volume > Box Volume.
- Select Add Override > Vignette.Then, in the Vignette Inspector, override the properties them with your preferred values.
Now, whenever your Camera is within the bounds of the local Volume's Collider, URP uses the Vignette values from that Volume. Whenever your Camera is outside the bounds of the local Volume's Collider, URP uses the Vignette values from the global Volume