Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

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:
      25