Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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 Moderator

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