Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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: