Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDRP Change post processing behavior through script (C#)

Discussion in '2019.1 Beta' started by Ravery, Apr 3, 2019.

  1. Ravery

    Ravery

    Joined:
    Mar 5, 2016
    Posts:
    49
    How do I change the post processing in HDRP through script?

    For example Post Exposure value of the Color Adjustments component of a UnityEngine.Rendering.Volume?

    I can't assign the UnityEngine.Rendering.Volume variable of my script in the Editor.
    Is there a way to get the currently active, global Volume?
    Is there a better way to get a local Volume besides checking against the collider and then accessing the Volume via GetComponent?
     
  2. Ravery

    Ravery

    Joined:
    Mar 5, 2016
    Posts:
    49
    Is there any documentation on this? I can't find a thing.
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618