Search Unity

Question [2022.2 Built-in water shader] How do I get rid of the white edge line?

Discussion in 'Shaders' started by MaxPow3r, Dec 14, 2022.

  1. MaxPow3r

    MaxPow3r

    Joined:
    Aug 8, 2014
    Posts:
    3
    This white edge is modified by the refraction controls. Instead of going near full transparency where the water is shallowest and should be least visible, it turns into a sharp white line.

    I guess this is supposed to represent ocean foam, but it makes no sense for still water, lakes, pools, rivers, etc.

    Increasing absorption distance stretches it out, but that makes it even more noticeable and worse looking.
    Reducing absorption distance further makes to less noticeable, but reduces water transparency too much.

    Any way to disable it?
     

    Attached Files:

    • edge.png
      edge.png
      File size:
      693.8 KB
      Views:
      99