unity-game-enginetexturesuv-mappingmipmaps

What is this mipmap artifact?


There was a weird white line at the edge of my sphere UV when I import texture with mipmap

It disappear when I disable mipmap

What is this?

enter image description here

This is the texture I used

enter image description here


Solution

  • The problem lies on the fact that I was generate per pixel UV in shader

    https://forum.unity.com/threads/strange-line-artifact-when-doing-1-on-uv-coordinates.544118/

    But that's not the problem itself. The point is I need to specified LOD with texture2D sampler LOD when it is a custom per pixel UV. Or else it could has a confusion mipmap between UV 0.99 and 0.01