Search Unity

Edit Post Processing Stack Values At Runtime

Discussion in 'Image Effects' started by Aminushki, Apr 28, 2017.

  1. Aminushki

    Aminushki

    Joined:
    Jun 10, 2016
    Posts:
    11
    How would I be able to edit the values of the stack at runtime for tune-able graphics settings? Would I need any namespace to do this? Thanks
     
    FaberVi likes this.
  2. FaberVi

    FaberVi

    Joined:
    Nov 11, 2014
    Posts:
    146
    Solution?
     
  3. ArkyonVeil

    ArkyonVeil

    Joined:
    Dec 20, 2013
    Posts:
    14
    Will this help? https://github.com/Unity-Technologies/PostProcessing/wiki/Runtime-Post-Processing-Modification

    EDIT: This method didn't work for me. After some head banging I found a way:

    You can probably figure out a way to do the same for other effects.

    -Ignore the Animation Curve highlight, it's not necessary. :p
     
    Last edited: May 19, 2017
    FiveFingers and sonofbryce like this.
  4. Waz

    Waz

    Joined:
    May 1, 2010
    Posts:
    287
    Careful, that will modify the profile Asset itself. The method you linked to copies it at Start.
     
    FiveFingers likes this.
  5. LordYabo

    LordYabo

    Joined:
    Feb 21, 2013
    Posts:
    5
    How do you make a copy/clone of the profile? I followed that link but it doesn't work anymore.
    I'm still on unity 5.6 so manipulating the profiles is all i can do.