# Problem with seamless terrain

**URL:** <https://discourse.mapeditor.org/t/problem-with-seamless-terrain/3181>\
**Category:** Questions\
**Created:** [May 3, 2018, 7:03pm UTC](https://discourse.mapeditor.org/t/problem-with-seamless-terrain/3181 "2018-05-03T19:03:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fretdam](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@fretdam](https://discourse.mapeditor.org/u/fretdam)\
**Post date:** [May 3, 2018, 7:03pm UTC](https://discourse.mapeditor.org/t/problem-with-seamless-terrain/3181/1 "2018-05-03T19:03:07Z")

</div>

I am trying to setup some terrain brushes, but can’t get them to work properly. When I edit the terrain with following setup, it sometimes gets jagged, especially when working with a small brush. I think I am missing some tiles for combinations. The size is 16x16

It seems that I am missing some tiles? Because when I put the terrain brush right next to an already placed one it just cuts the corner, like here:

![7e5x5nk](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/d/dc7f82808cd699668b16f02f4b27ae2bb0884b28.png)

I tried adding a lot of tile definitions, but can’t get this to work 😕

![terrain1](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/6/656e67023ebcd32c3cd3add83fa640eb84f498eb.jpg)  
 ![terrain2](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/8/87a090a4d986b87ec2779ed9ee2adfd6a55fc152.jpg)

Effect:

![KsgMZv5](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/0/0558de8e83dfb402743d51e05c29a7cf4a75d6d5.png)

---

<div class="post-metadata">

**Author:** ![fretdam](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@fretdam](https://discourse.mapeditor.org/u/fretdam)\
**Post date:** [May 4, 2018, 10:09am UTC](https://discourse.mapeditor.org/t/problem-with-seamless-terrain/3181/2 "2018-05-04T10:09:37Z")

</div>

I fixed it! It turns out I was missing this definition:  
 ![50](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/4/4e85b64f6dace6b079dff18c756286d7ee1d1565.png)

---

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [May 8, 2018, 11:09am UTC](https://discourse.mapeditor.org/t/problem-with-seamless-terrain/3181/3 "2018-05-08T11:09:17Z")

</div>

I would expect it to work a little bit better without those tiles (they are also missing in the tiles of the “desert” example map, and generally it seems to fix up the map properly), but I’m glad you found out that this was causing the problem and thanks for letting us know!
