# Landscape weight maps don't work correctly

**URL:** <https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442>\
**Category:** World Creation\
**Tags:** world-machine, unreal-engine, Landscape, question\
**Created:** [October 19, 2017, 8:00pm UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442 "2017-10-19T20:00:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![michigeco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michigeco](https://forums.unrealengine.com/u/michigeco)\
**Post date:** [October 19, 2017, 8:00pm UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442/1 "2017-10-19T20:00:56Z")

</div>

Hi!

I’m trying to create a complete realistic terrain procedurally with world machine and UE, following this guide: [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/World_Machine_to_Unreal_Engine_4_-_In_Depth_Guide)

I managed to set the heightmap of the terrain and to set a (currently) simple landscape material with 4 layers, but then when I import the terrain (after setting the weight maps and creating all the layer infos) the result is different from the render in World Machine! Here some screenshots:

 ![217275-screenshot-52.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/a/d3afe84113182aeb36457826625428d45d53e924.jpeg)  
217273-  
][3]

As you can see, the colors (boe, green red, purple) don’t match in the two software, altought the masks are the same. It looks like in UE  
Someone has any idea?  
Thanks!!

(P.S. I know the terrain doesn’t look great for now, I will adjust it a lot in the future but to do this is necessary fot me to find a solution to this 😉 )

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [October 20, 2017, 7:29am UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442/2 "2017-10-20T07:29:38Z")

</div>

Assuming that all your layers are either height or weight blended, you should be aware, that when you are importing a weightmap into a layer, all other layers are balanced out to always maintain a sum of all weightmaps at any given place at 1.  
So, when you are importing a weightmaps as mask, you need to import weightmaps in certain order.

Alternatively, you can ensure that your weightmaps are already weighted to a sum of 1 in world machine. There should be a special node for this.

---

<div class="post-metadata">

**Author:** ![michigeco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michigeco](https://forums.unrealengine.com/u/michigeco)\
**Post date:** [October 20, 2017, 3:03pm UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442/3 "2017-10-20T15:03:22Z")

</div>

Hi Deathrey, thanks for the reply.  
so the masks are balanced to create a total weight of 1; maybe is a (super) silly question, but how do I get the weight of a layer in UE editor? Where can I read it?

---

<div class="post-metadata">

**Author:** ![michigeco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michigeco](https://forums.unrealengine.com/u/michigeco)\
**Post date:** [October 24, 2017, 8:19pm UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442/4 "2017-10-24T20:19:02Z")

</div>

so…nothing? XD

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [October 25, 2017, 9:54pm UTC](https://forums.unrealengine.com/t/landscape-weight-maps-dont-work-correctly/407442/5 "2017-10-25T21:54:53Z")

</div>

LandscapeLayerWeight material expression does that.
