Search Unity

Water shader foam Orthographic issue

Discussion in 'Shaders' started by Ivicarus, Apr 29, 2016.

  1. Ivicarus

    Ivicarus

    Joined:
    Apr 22, 2016
    Posts:
    2
    Hello,

    I'm currently working on a mobile-game and I added a water prefab given by the Unity support team with a good shader that gives a foam to the shorelines. It works perfectly fine when the camera is in perspective mode, which is not what I use in the game. Indeed, as soon as the orthographic mode is chosen, the foam on every object colliding with the water looks weird as the shader is working with the depth of the camera.

    Any idea on anything that could solve the problem ?
     

    Attached Files:

  2. oskar2771

    oskar2771

    Joined:
    Jul 17, 2016
    Posts:
    1
    I have the same issue, any solution ?