Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Resolved Far away grid textures very jittery

Discussion in 'General Graphics' started by jonglaaa, Jan 1, 2022.

  1. jonglaaa

    jonglaaa

    Joined:
    Apr 1, 2020
    Posts:
    4
    Here is a video of the problem which kinda explains itself:


    for context, I am trying to create a infinite plain with this gridlike texture on it, but the far textures of this grid is inexcusably jittery. What can I do about it? For the grid I am using a free grid shader from assetstore.
     
  2. Sky77

    Sky77

    Joined:
    Jan 30, 2014
    Posts:
    171
    Rising the anisotropic filtering level on the texture may help, but what you’re seeing here is a classic moire effect for the texture pattern that you’re using.
    It may be impossible to solve it completely.
     
    jonglaaa likes this.
  3. jonglaaa

    jonglaaa

    Joined:
    Apr 1, 2020
    Posts:
    4
    Okay so this seems true so far. But I have found an acceptable solution.
    1. Turned aniso level down to zero in the texture, even though this solved the jitter, the far texture looked really bad, sort of like very bad compression on videos.
    2. Set filter mode to trilinear, which solved the bad compression type look.

    The end result is okay, texture lost the crispy look but the jitter is gone for the most part.
     
  4. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    jonglaaa likes this.