Search Unity

  1. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    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:
    28
    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:
    28
    Is there any documentation on this? I can't find a thing.
     
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    4,929
unityunity