Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PostProcessing-Stack V2 (Layer) affects other shaders (e.g. Custom Water-Shader (Waterreflection))

Discussion in 'Image Effects' started by IAAAI, Sep 9, 2019.

  1. IAAAI

    IAAAI

    Joined:
    Oct 17, 2018
    Posts:
    17
    Hi there,

    i am working/ fooling around with VR in Unity 2017.4 . :D
    I also started to look into the Post-Processing-Stack V2, to make use of HDR-Emission.
    In my project there is a custom water-shader with reflection etc. too.

    THE PROBLEM o_O
    The custom water reflection (Shader) is wrong on both cam-eyes in there own way (Offset), when i put/ turn on the "Post-Processing-Layer" on a camera/ the cameras. Turning the "Layers" off fixes everything but i can not use the PostProcessing-Layer without causing an offset of the water-reflection on each eye again.

    I do not have enough knowledge (allmost none) when in comes down to shaders.
    Does it have to do with something like "Render-Order" etc.?

    I can not show u the water shader code itself... :confused:
    Sry! :oops: