# Why is my landscape painting rigid and "square"?

**URL:** <https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695>\
**Category:** World Creation\
**Tags:** landscape-painting, unreal-engine, UE5-0, Landscape, question\
**Created:** [June 5, 2022, 4:45pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695 "2022-06-05T16:45:20Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maladrum](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maladrum/32/1013148_2.png) [@Maladrum](https://forums.unrealengine.com/u/Maladrum)\
**Post date:** [June 5, 2022, 4:45pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/1 "2022-06-05T16:45:20Z")

</div>

I’ve found few answers to this, which all more or less say “increase the landscape resolution”. But this has never worked for me. Why is it that when I paint a layer onto my landscape, it looks like this? This is weight blending, by the way, if that’s at all relevant. Attached is an example of what I’m talking about.

I want a smoother, more rounded edge on the path and dirt patch. How can I get that? Or is there something else I’m missing, here?

 ![square-painting-EX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/d/5ed8e105916b321ecea86de8f1b6cc3cfb4bfb22.jpeg)

---

<div class="post-metadata">

**Author:** ![BIGTIMEMASTER](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bigtimemaster/32/710746_2.png) [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Post date:** [June 5, 2022, 5:04pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/2 "2022-06-05T17:04:56Z")

</div>

1. 

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/4/7d4d3260dc1ab7136a9dac328c4a30cc9bbfa7d6.jpeg)

Turn on the wireframe visualizer ^

1. 

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/9/2d9dd35bc408154c779eb9dd092421313982ad02.jpeg)

Go into your landscape details panel, search LOD. Change those numbers to make more vertices, thus increasing the landscape resolution.

Landscape texture painting is done per vertex. Therefore, the only way to get better resolution is increase the amount of vertices (this is what people mean when they say increase the resolution.)

---

<div class="post-metadata">

**Author:** ![Maladrum](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maladrum/32/1013148_2.png) [@Maladrum](https://forums.unrealengine.com/u/Maladrum)\
**Post date:** [June 7, 2022, 6:13pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/3 "2022-06-07T18:13:09Z")

</div>

Hey BIGTIMEMASTER, thanks for your help.  
However, when I follow the steps as you laid out, I can tell that the vertices are _changing_, but they aren’t necessarily _increasing_. What people have meant when they say “increase the resolution” is using the settings when first setting up a landscape to do so (such as ‘section size’, and quite literally, the ‘overall resolution’ setting). My issue is that even on the highest setting (8161x8161 vertices) in there I see a very miniscule difference to even the lower settings.  
 ![UE5_LandscapeSettings](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/7/db7b8a7cf7d047774f3e2eb9d05dcd94da15ebf6.png)

---

<div class="post-metadata">

**Author:** ![BIGTIMEMASTER](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bigtimemaster/32/710746_2.png) [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Post date:** [June 7, 2022, 7:22pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/4 "2022-06-07T19:22:14Z")

</div>

As far as I can tell, without tesselation the most resolution you can get from the landscape is 1m faces. I think that if you are wanting what appears to be less than 1m resolution, you’ll want to use a height blend layer type in the landscape material.

This will break the blending up from being linear and make it look more natural, based on your textures height texture.

It’s a bit to setup but there is many tutorials on the subject:

[Landscape Textures - Building Worlds In Unreal - Episode 3 - YouTube](https://www.youtube.com/watch?v=mEDoy-N1ODQ&list=PL78XDi0TS4lGJ_v9lKh2dZobP_D89JjP6)

[Intro to Unreal Landscapes - Alpha, Weight and Height Blend Modes - YouTube](https://www.youtube.com/watch?v=KCVyf6LrFFk)

I always caution though - don’t evaluate a single aspect of the total art in isolation. Assuming you will have grass, trees, and other props breaking up the landscape, you may be solving a problem that won’t actually exist.

---

<div class="post-metadata">

**Author:** ![Maladrum](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maladrum/32/1013148_2.png) [@Maladrum](https://forums.unrealengine.com/u/Maladrum)\
**Post date:** [July 9, 2022, 9:21pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/5 "2022-07-09T21:21:24Z")

</div>

Height blended layers was definitely the way to go.

---

<div class="post-metadata">

**Author:** ![codeedward1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@codeedward1](https://forums.unrealengine.com/u/codeedward1)\
**Post date:** [May 25, 2023, 8:23pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/6 "2023-05-25T20:23:44Z")

</div>

How did you do it @Maladrum? I have the same problem and High blended materials don’t change anything. Here is the example with weighted-blend but it looks the samy no matter I change:

> [@Landscape paint brush pain rectangles only \[Unreal 5.2\]](https://forums.unrealengine.com/t/landscape-paint-brush-pain-rectangles-only-unreal-5-2/1176279):
>
> When I pain my landscape the paint brush only paints rectangles. I’ve never experienced this before. In my older project or youtube tutorials I can see everything works well. I do the same steps as in youtube but still getting this weird effect. It’s very square’ish: My setup is as follows: Standard Landscape Material I have two layers. Only pait sand on the Sand layer and SandRoad on SandRoads layer: [image] I gave 0.2 on alpha for the Sand layer as the sand road was v…

---

<div class="post-metadata">

**Author:** ![meinvalley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/meinvalley/32/882445_2.png) [@meinvalley](https://forums.unrealengine.com/u/meinvalley)\
**Post date:** [January 11, 2024, 2:07am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/7 "2024-01-11T02:07:57Z")

</div>

Have you solved this issue? I’m currently facing the same problem.

---

<div class="post-metadata">

**Author:** ![allenconstantine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@allenconstantine](https://forums.unrealengine.com/u/allenconstantine)\
**Post date:** [January 23, 2024, 7:01am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/8 "2024-01-23T07:01:21Z")

</div>

Hey guys!

Can anyone advise on how to use the height blending in order to get rid of the square problem when painting over landscapes?

Appreciate it!

Allen

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [January 23, 2024, 7:42am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/9 "2024-01-23T07:42:12Z")

</div>

Its not magic, it wont “get rid” of anything.  
It may lessen the visual effect.  
And many times that’s more similar to gasolene on dumpster fire that is UE4 landscape when you needed water.

I havent really reviewed the topic but i did see some BS that needs to be pointed out.

1. the paint is not “per vertex” its actual paint.  
But the texture you are painting to equals 1m^2 to a pixel (default landscape 100x/y scale).

This is farily consistent, so the paint essentially matches up between any _size_ landscape.  
Larger size = more pixels.  
Not a different ratio.

1. tessellation never did anything for anyone, if anything it made performance worse and caused bugs on landscape tile intersections.

It was mentioned above with some other BS. Its not. It doesnt affect anything. Never did.

1. I don’t actually see the proper solution to the problem listed, granted I barely skimmed throguh the topic. To have _less_ of pixel like effect you need to run a texture or some other type of medium as the alpha of the Lerp between the landscape layers.

Given #3, a height blend partially does just this.  
Generally, it isn’t enough.

This is simply due to the texture UV sizing.  
Texture Scale is geberally the same or very similar across areas, to the point where the visual effect of the height based lerp is not actually enough to properly introduce enough diversity into the layer overlap to stop noticing the Square nature of it.

So? What do you do?  
well, you can run the same idea manually.

No one on any professional project is likely to be using the landscape layer blend node stuff illustraded here

> **[Landscape Materials](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/Landscape/Materials/)**
>
> Setting up materials to work with Landscape terrains

Mostly because their perormance is really bad.

So what do people do?  
Well, you have layers which are an alpha (black/white) texture representing the way you paint the landacape.

You use that as the driving factor of a lerp to cover what the white area would be with your desired texture, while the black area is the rest or output of all the other combined layers.  
(More layers, more perfeomance downsides ofc).

In the case of a simple 3 layer material you always have.  
A base - no paint.  
That is the initial layer you begin with.  
And the 2 layers you want to paint in.

The material will looks something like.

Uv \> texture \> A of lerp.  
UV \> texture of grass \> B of lerp.  
Sample Grass \> alpha of lerp.  
Output into A of anotber lerp  
Samole Rock \> alpha of another lerp.  
Uv \> Texture of rock \> B of another lerp.

You build up from there, and can add infinite complexity.

What you can _also_ do is to math fudge your sample’s alpha:  
Say you want the one pixel to be more than 1 pixel of paint. You can probably power of 10 the paint sample, and clamp it back to 0/1 range so that the material colors in not just the 1 pixel you ended up painting as a layer, but several other pixels around it.  
I believe something similar to this is used in the GC kite demo.

However note that because the demo had to be somewhat performant, they obviously don’t really use landscape paint.  
Its done with individual textures.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [January 23, 2024, 11:04pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/10 "2024-01-23T23:04:40Z")

</div>

Adding to this.  
A creative way to generate some sort of a blend.

You _know_ the alpha of the blend occurs in situation where the value of the layer is Less than 1.

You can run a branched IF statement (apparenly you have to use Custom nodes again in ue5)  
and output a texture channel (values below 1) on top of the alpha value, clamping the result in a 0 to 1 range, and using the output of the branch operation as the alpha of the lerp.

_could_ end up being cheaper than a height blend if you utilize existing texture channels to make it.

---

<div class="post-metadata">

**Author:** ![Lpanic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lpanic](https://forums.unrealengine.com/u/Lpanic)\
**Post date:** [April 27, 2024, 10:49am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/11 "2024-04-27T10:49:39Z")

</div>

Bumping this. Is there any way to tesselate landscapes further? Hight based blends aren’t really cutting it for paiting detail blends for smaller scenes.

---

<div class="post-metadata">

**Author:** ![Lpanic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lpanic](https://forums.unrealengine.com/u/Lpanic)\
**Post date:** [April 27, 2024, 11:07am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/12 "2024-04-27T11:07:29Z")

</div>

I actaully found it. All I had to do was to rescale huge landscape object. Now I have verts in the right scale 😃 Can’t believe it was so easy to fix…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/8/2481045a67cbd12624d57780c9a62c00174c4b72.jpeg)

---

<div class="post-metadata">

**Author:** ![LordPosix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordPosix](https://forums.unrealengine.com/u/LordPosix)\
**Post date:** [June 22, 2024, 2:04am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/14 "2024-06-22T02:04:43Z")

</div>

Hi, could you please explain how did you do that?  
i’m having the same issue and didn’t understood what you did  
thanks in advance!

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [July 3, 2024, 9:27pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/15 "2024-07-03T21:27:24Z")

</div>

Thats not a _fix_.  
All that is is a reduction of around 500% in performance.

The landacape is made to operate with 1 vertex every meter.  
Any variation of that _will_ cause problems.

---

<div class="post-metadata">

**Author:** ![Lpanic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lpanic](https://forums.unrealengine.com/u/Lpanic)\
**Post date:** [July 7, 2024, 10:25am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/16 "2024-07-07T10:25:25Z")

</div>

Yeah, this is what I did. Simply grabbed landscape plane and manually scalled it. Having 1 meter limit is really bad. There should be a way to subdivide areas of terrain that could use more. And if landscape can’t handle any operations like this is should be removed as a feature. As being simple useless with AAA. New system should be made.

I called it a fix as it allowed me to get nice painting in. But agreed that performance wise this might be a overkill. Unless game is small zone based.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/3/df39e37079908cf95f5ddeb7e02df8bd43c6114a.jpeg)

---

<div class="post-metadata">

**Author:** ![LordPosix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordPosix](https://forums.unrealengine.com/u/LordPosix)\
**Post date:** [July 8, 2024, 12:33am UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/17 "2024-07-08T00:33:38Z")

</div>

i read your post explaining the alpha texture method but i don’t know how to actually do that. (create the alpha texture with the desire path and scale) do you know of any video or text tutorial where i can learn more about this method?  
thanks in advance

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [July 8, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/18 "2024-07-08T16:28:34Z")

</div>

Not really, but you just need to lerp of height lerp the two layers.  
Manually ot using the landscape node for it

---

<div class="post-metadata">

**Author:** ![WhyLongDingDong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WhyLongDingDong](https://forums.unrealengine.com/u/WhyLongDingDong)\
**Post date:** [November 26, 2024, 3:14pm UTC](https://forums.unrealengine.com/t/why-is-my-landscape-painting-rigid-and-square/574695/19 "2024-11-26T15:14:49Z")

</div>

No need to increase the tesselation!  
You just need to make sure your layer blend is Alpha blend in your landscape material (not the default Weight Blend):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/7/f87060cd4506f908e00c6bd5f56915dc2be845ec.jpeg)

🙂
