Volume Overrides | Universal RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    __Vignette__ is an example of a Volume Override.

    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:

    1. Create a global Volume (menu: GameObject > Volume > Global Volume).
    2. Click the New button next to the Profile property to add a new Volume Profile to the Volume.
    3. Select Add Override > Vignette, and leave it with the default settings.
    4. Create a local Volume. To add a Local Volume with a box boundary, select GameObject > Volume > Box Volume.
    5. 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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023