Search Unity

Multiple terrain fix

Discussion in 'Editor & General Support' started by Kryber, Jan 20, 2014.

  1. Kryber

    Kryber

    Joined:
    Apr 14, 2013
    Posts:
    92
    Hi. I'm creating a random terrain generator using chunks, perlin noise and multiple terrain. Now I have this problem. How can I fix that ? Thanks in advance.
    $lol.png
     
  2. paintbox1

    paintbox1

    Joined:
    Jan 20, 2014
    Posts:
    36
    looks like you're not setting the last height pixel.
    The heightmaps in Unity-Terrain always have a size of 2^n + 1.
    Even if you specify a resolution of 512x512 Unity is going to create a 513x513 heightmap for you.
    Leaving these last pixels at height zero gives you that look