Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Black line artifacts around mesh edges, which occur only in a specific material?

Discussion in 'General Graphics' started by TheGameNewBie, Feb 23, 2023.

  1. TheGameNewBie

    TheGameNewBie

    Joined:
    Jul 27, 2017
    Posts:
    92
    I have multiple meshes. One for the larger sea water and one for the shore strip.
    Both of them have the same material applied. But there is a black line artifact on the edges between the two meshes. It occurs only when using this specific water material which is made in Shader Graph. Other materials don't show these lines.
    Black Lines 01.PNG
    This is the mesh geometry
    Black Lines 02.PNG
    The lines also change slightly depending on the camera angle with which they are looked at.
    Can anyone tell me What are these lines? and how can I fix them?