Search Unity

Volume overrides

Discussion in 'Universal Render Pipeline' started by fwalker, Nov 20, 2020.

  1. fwalker

    fwalker

    Joined:
    Feb 5, 2013
    Posts:
    255
    I can add a Volume component to a game object but then when trying to add an override to the profile, the overide list is empty.
    Can overrides not be set if you are not using the HDRP template?
    Specifically, I am looking to add a fog override. Obviously fog is supported, so the purpose of the volume would be to control the fog density, any reason why I could not roll my own I guess. I hate to reinvent the wheel.
     
  2. revolute

    revolute

    Joined:
    Jul 28, 2014
    Posts:
    50
    URP does not have fog override built in. At least for 7.x.x versions which I'm using and developing on. If you are looking to override in a specific manner that simulates pp's local volume, you can just add a gameobject (with collider if you wish it to have a volume-ish setup) and check if the object is in camera's frustum. Then change fog settings according to its settings. URP requires a bit of reinventing the wheel, which I hope that in time it will change.