Search Unity

[SOLVED] Artifacts on transparent material when procedural skybox atmosphere thickness is > ~2.5

Discussion in 'General Graphics' started by aybe, Jan 10, 2020.

  1. aybe

    aybe

    Joined:
    Feb 20, 2019
    Posts:
    55
    In my current setup I've found that what's causing this is the high value of the atmosphere thickness in procedural skybox.

    Unity_2020-01-10_02-41-31.png

    PS: I had to give the water sphere a transparent material else I get the following rendering issue, basically the low poly continents gets hidden otherwise.

    PS: I can't use another, better earth model that would include both water and continents.

    Legend: if I use non-transparent material for water then problem is gone but now since continents are not perfectly spherical they pass through water:

    Unity_2020-01-10_02-48-38.png

    Do you know how I could get rid off these skybox artifacts while still being able to retain a transparent material for the water sphere ?

    Thanks !
     
  2. aybe

    aybe

    Joined:
    Feb 20, 2019
    Posts:
    55
    Nevermind, I fixed it !

    I wrote a shader that tessellates continents and water, and water is like 0.999 scale, then using non transparent materials made the problem vanish.

    Unity_2020-01-10_09-24-30.png