# How to have landscape layer blending be linear and absolute?

**URL:** <https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719>\
**Category:** World Creation\
**Tags:** unreal-engine, Landscape, UE4-26, UE4, question\
**Created:** [August 5, 2022, 2:31am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719 "2022-08-05T02:31:25Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fc00337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fc00337](https://forums.unrealengine.com/u/anonymous_user_8fc00337)\
**Post date:** [August 5, 2022, 2:31am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/1 "2022-08-05T02:31:25Z")

</div>

Hello!  
I’m currently working on a top down 2D shooter and I’m having a little trouble with some level design. I decided to be cheap and fast with creating levels, so I decided on using a landscape to create the floor. I wanted to be able to easily draw on the floor using landscape painting, but understandably the color blends with other textures. Is there a way to have no blend to not make the edges look blurry? Thanks!

Example:

 ![Capture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/6/fa69d8501bcb3b03d7b08575c88593f6ebf9f52c.png)

---

<div class="post-metadata">

**Author:** ![Radsburied](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/radsburied/32/562456_2.png) [@Radsburied](https://forums.unrealengine.com/u/Radsburied)\
**Post date:** [August 5, 2022, 3:06pm UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/2 "2022-08-05T15:06:43Z")

</div>

I think there is an example of harsher blend in the Stylized/Cartoony UE4 Sample Project. I could be wrong though

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fc00337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fc00337](https://forums.unrealengine.com/u/anonymous_user_8fc00337)\
**Post date:** [August 5, 2022, 6:25pm UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/3 "2022-08-05T18:25:10Z")

</div>

Checked it out, doesn’t really work. I’m looking for a pixel perfect cutoff when blending, if you know what I mean.

---

<div class="post-metadata">

**Author:** ![Radsburied](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/radsburied/32/562456_2.png) [@Radsburied](https://forums.unrealengine.com/u/Radsburied)\
**Post date:** [August 6, 2022, 6:59am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/5 "2022-08-06T06:59:47Z")

</div>

Ah sorry about that , I realized my method wouldn’t work when having more than 2 materials.

---

<div class="post-metadata">

**Author:** ![Radsburied](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/radsburied/32/562456_2.png) [@Radsburied](https://forums.unrealengine.com/u/Radsburied)\
**Post date:** [August 6, 2022, 7:20am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/6 "2022-08-06T07:20:46Z")

</div>

This will only work if you completely avoid the Landscape Blend Node and do your own blending, based on the fact that some materials are meant to be ontop of others etc.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/3/7d3e7ba3550c1bf1820deb561dc86b9abb458f35.png)

Cheap-IF

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/f/6ef19847e1ab316dd60062b43e6e3e2a15a84dcd.png)

Result:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/8/178597a9f5430b2effcba6d85d44d060acd23e84.jpeg)

Hopefully this will help you out 🙂  
It’s easier to setup if you make all your landscape materials Material Functions as well, for easier organisation.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_773de9d3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_773de9d3](https://forums.unrealengine.com/u/anonymous_user_773de9d3)\
**Post date:** [August 6, 2022, 1:16pm UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/7 "2022-08-06T13:16:26Z")

</div>

At the moment I am working on a top-down 2D shooter, and I am having a little trouble with some level design when it comes to it. As I was creating levels, I wanted to be as cheap and fast as possible, so I decided to use a landscape to create the floor in order to save time. I wanted to be able to paint easily on the floor in landscape mode, but the colour blends in with other textures so that it is difficult to draw on the floor. Can you tell me if there is a way to have no blend in order to not make the edges look blurry? Many thanks[!](https://kanyewestclothing.com/)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fc00337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fc00337](https://forums.unrealengine.com/u/anonymous_user_8fc00337)\
**Post date:** [August 7, 2022, 12:15am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/8 "2022-08-07T00:15:39Z")

</div>

That looks very nice! Though, I’m not 100% familiar with how materials work. Could you do me the favor of explaining what I’m seeing? Are both of the pictures in the same material graph? What do you connect to A and B in the Blend Material Attributes node? What is the Mf\_CheapIf?

---

<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:** [August 7, 2022, 5:33am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/9 "2022-08-07T05:33:07Z")

</div>

Calling a function cheap and shoving calculations in it doesnt make it cheap.

Use an If and the result will be a lot cheaper…

---

<div class="post-metadata">

**Author:** ![Radsburied](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/radsburied/32/562456_2.png) [@Radsburied](https://forums.unrealengine.com/u/Radsburied)\
**Post date:** [August 7, 2022, 6:17am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/10 "2022-08-07T06:17:59Z")

</div>

@MostHost_LA

How about you go prove if using the if node is cheaper than the above solution before saying your stuff first ? Fine if its actually cheaper but maybe you want to be helpful and more than just “all talk?” ?

---

<div class="post-metadata">

**Author:** ![Radsburied](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/radsburied/32/562456_2.png) [@Radsburied](https://forums.unrealengine.com/u/Radsburied)\
**Post date:** [August 7, 2022, 6:25am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/11 "2022-08-07T06:25:42Z")

</div>

What I’m plugging into A and B are materials functions, that are materials put together by the MakeMaterialAttributes node and made into material functions for easier organization and blending.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/3/293fba2ef9cdcbabd146b3d061e9b9188f755386.png)

The cheap if essentially blends things at 50% gray (from a mask that you put in, creating a sharp line)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/a/31ade5fd3cfd1dfc40e45cba644bff8fd3e81771.jpeg)

The sampled painted masks from the landscape, gradually falloff, so this will help it create that sharp line in the mask itself.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8fc00337](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8fc00337](https://forums.unrealengine.com/u/anonymous_user_8fc00337)\
**Post date:** [August 7, 2022, 5:24pm UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/12 "2022-08-07T17:24:39Z")

</div>

I don’t want to be a burden, but could you mind sharing that project with me, or at least the material, so I can get a better understanding?

---

<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:** [August 7, 2022, 7:57pm UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/13 "2022-08-07T19:57:56Z")

</div>

Maybe you are just intellectually challanged. Adding a division and other calculations into a custom funcion is obviously going to cost more than _not_ adding any calculations.

Do you need a fortune teller to tell you as much?

---

<div class="post-metadata">

**Author:** ![UnrealMKJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnrealMKJ](https://forums.unrealengine.com/u/UnrealMKJ)\
**Post date:** [May 31, 2025, 7:45am UTC](https://forums.unrealengine.com/t/how-to-have-landscape-layer-blending-be-linear-and-absolute/621719/15 "2025-05-31T07:45:26Z")

</div>

Awesome. Thanks for taking the time to illustrate your method!
