Landscape painting problem

Hi there,

I am very new to Unreal Engine and maybe my problem is something that has an easy solve, but I cannot figure it out. So please help me with this.
I am trying to paint a pathway onto my landscape using blended layers and if I make the brush tool size smaller (like 150), in order to paint the pathway, I cannot paint or paint just in a straight line. Moreover the brush seems to be more like an square that a circle.

Is there any solution to this?

Thank you very much!!! :smiley:

Can you provide some screenshots of what is happening and what your setup looks like.

Thank you for your quick reply!

I use an aerial image and I want to paint on-top the pathway the textures for that. As you can see from the image the brush (set to 150) creates square chunks.

maybe try changing landscape coordinates a bit and see if that changes it

The limit in size has to do with the fact that landscape vertices have a decent distance between one another, and landscape painting is essentially just vertex painting, but primed for a landscaping mesh. The issue you’re describing is caused by texture coordinates being recorded solely by referencing the vertex positions and assigning the specific texture information accordingly. However, even though this is how mesh painting is almost almost handled (The only exception that comes to mind atm are certain techniques involving voxelized meshes, but that’s not important right now.)

The vertex positions are recorded per-vertex, where polygons intersect with each other, and only there. So therefore, through only mesh painting, between any part sets of vertices you can’t change painted texture information halfway between two adjacent vertices, because the engine doesn’t know how to record where the change happens.

So now the question becomes: “So what can I do?” The answer isn’t all that hard to determine if you understand what the issue is.

Two popular workarounds:

  • Place meshes to handle the finer details (i.e. a separate road mesh for your example.) on to the landscape.

  • Use a mix of procedural and tileable masking to alternate between.

Thank you all!!!

Unreal forums are truly fast and helpful.

  • unfortunately changing landscape coordinates does not help.

I managed to fix the problem by increasing the terrain resolution.
Still I will try what Riley1389 suggested because by using a higher resolution for the terrain I cannot increase the size of the landscape as much as I want. Before I used 144 tiles of 256x256, now (in order to be able to paint as I want) I had to increase the resolution to 2017x2017. So now I cannot use 144 tiles at 2017x2017 without performance issues.