Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Question Post Processing Image Effects?

Discussion in 'Shader Graph' started by CodeMonkeyYT, Dec 11, 2019.

  1. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    121
    Hey everyone,

    From what I understand right now it's not possible to do Post Processing effects in Shader Graph correct?
    In 2019.3 with the upgrade to URP that will come bundled with the Post Processing stack is that going to be doable?

    Thanks!
     
  2. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    121
    Anyone knows?
    So far it seems the only way to do Shader Graph image effects is to place a quad right in front of the Camera or use a RenderTexture.
     
  3. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I'm not sure about post processing effects but you can always add a Renderer Feature and apply a material to it so it gets applied as an image effect to all the objects in the scene.
     
    CodeMonkeyYT likes this.
  4. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Hi @CodeMonkeyYT
    Not possible at the moment (afaik), there was a custom implementation for 2018 last year, but it does not function in 2019, I guess the api has become more restrictive. Maybe there will be support in 2019.3. But I really hope we can write custom effects with code just like in HDRP. It gets problematic quickly with complex effects if we have to rely on Shader Graph only.

    See these links for more info:
    https://forum.unity.com/threads/shader-graph-image-effects-for-the-postprocessing-stack.567115/
    https://github.com/iBicha/ImageEffectGraph
     
    CodeMonkeyYT likes this.
  5. CodeMonkeyYT

    CodeMonkeyYT

    Joined:
    Dec 22, 2014
    Posts:
    121
    Yeah I saw that link when I was searching for it but apparently it's been deprecated. I'm hoping with 2019.3 we will have an official way of doing it.

    I completely forgot about the Renderer Features, that might indeed be the way to do it. Thanks!
     
  6. Expsy

    Expsy

    Joined:
    Nov 4, 2016
    Posts:
    5
    Hey monkey, that might help you



    I'm also searching for a proper way to implement image effects. Good luck.
     
    CodeMonkeyYT likes this.
  7. odoluca

    odoluca

    Joined:
    Nov 5, 2014
    Posts:
    28
    I ended up doing exactly that and looks awesome. Just adjust the quad 0.02 on Z, turn of shadow casting, use unlit shader, etc. and voila.