Problem with landscape texture

Hello everyone

I have created a simple terrain in World Machine and exported it’s heightmap and it’s diffuse texture (the overlay)

I know this is not the proper way to do it. but I just want to test it and see how it works.

I have created a material in UE4 where I put my diffuse texture and set to the UV channel Landscape Coordinates node

But apparently it seems like the texture tiles on the terrain for some reason.

Fixed it! I just had to setup the size of the terrain in the landscape coordinates node