Search Unity

Question Shader graph and Layers

Discussion in 'Shader Graph' started by dec04, Jun 11, 2019.

  1. dec04

    dec04

    Joined:
    Jan 31, 2013
    Posts:
    9
    There are many lessons on the Shader graph, on using the depth scene. I looked most of them. Everywhere tell how to make foam on the water.

    In all cases, I get the same thing. if you make foam and somehow change the position of the water, then it happens.
    1.PNG 2.PNG

    It's not reflection.

    (imgur post if images not working https://imgur.com/a/mizcisf)

    That's how i change position

    3.PNG

    And that's how i get depth

    4.PNG

    Full size https://i.imgur.com/oFCqjvM.png

    How can I ignore objects that are above water? Maybe using layers? Please guide me in the right direction?