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

Terrain textures don't tile betwen two terrain tiles.

Discussion in 'General Graphics' started by bodzi0x95, Dec 5, 2019.

  1. bodzi0x95

    bodzi0x95

    Joined:
    May 16, 2018
    Posts:
    12
    Hi,
    I have few terrain tiles (using default terrain system) and some of my textures don't tile betwen the terrain tiles.
    Textures are tileable itself, they tile on terrain. Texture scale also is the same on both terrain tiles.
    Do u have any idea what can I do?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,329
    I believe the texture UVs on terrain start on the corner of the terrain where the pivot is. If you scale the terrain texture to a size that doesn't perfectly tile over the width of the terrain, then the next terrain won't line up since it's starting again at "0.0" on that edge.
     
  3. bodzi0x95

    bodzi0x95

    Joined:
    May 16, 2018
    Posts:
    12
    Thanks! It works :)