Search Unity

Far Texture Issue

Discussion in 'General Graphics' started by ardo314, Sep 3, 2015.

  1. ardo314

    ardo314

    Joined:
    Jul 7, 2012
    Posts:
    345
    Hello,

    i got a plane (200x200 units, ~20000 tris), uv mapped on this textureatlas.
    At about 80 units from the camera a bug appears where the uv coords somehow get messed or something.
    It's this white thing in the game view at the horizon in this picture.

    Regards, Arterie
     
    Last edited: Sep 3, 2015
  2. Cheerio

    Cheerio

    Joined:
    Aug 3, 2013
    Posts:
    19
    It looks like you're sampling outside of the image in your atlas. You could try making your image borders larger or bringing your uvs in.
     
    ardo314 likes this.
  3. ardo314

    ardo314

    Joined:
    Jul 7, 2012
    Posts:
    345
    Scaling down the uvs did the trick, but it feels wrong :p
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,300
    Looks like it could be a mipmapping issue, you should have a small bit of padding around the edges to protect against it. Which is what scaling down the UV's is doing ;)
     
    OllyNicholson likes this.