# Landscape auto material slope in different directions.

**URL:** <https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [May 11, 2025, 8:04pm UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217 "2025-05-11T20:04:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxxtchexxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xxxtchexxx](https://forums.unrealengine.com/u/xxxtchexxx)\
**Post date:** [May 11, 2025, 8:04pm UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217/1 "2025-05-11T20:04:50Z")

</div>

Hi,  
I’m making an automatic material for a desert, one of the features is the slope setting, where the material paints a texture to make the ripples in the sand caused by the wind, but all the textures are in the same direction and not in the direction of the dune itself. Where can I fix it so that all the ripples are in the direction of the dunes’ fall?

 ![dUNES](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/3/653ccc81c5c0b1dc3ac151cb6b9ed5957c4abeec.jpeg)

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [May 12, 2025, 3:04am UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217/2 "2025-05-12T03:04:49Z")

</div>

You need to put a world aligned texture node on that texture, one of the setting on that should give you the desired result. Not at my computer right now but I’ll try to remember to post it later

---

<div class="post-metadata">

**Author:** ![xxxtchexxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xxxtchexxx](https://forums.unrealengine.com/u/xxxtchexxx)\
**Post date:** [May 13, 2025, 9:27pm UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217/3 "2025-05-13T21:27:56Z")

</div>

I’ll send a print of how my texture is so far regarding the inclination and the WorldAligned function.

 ![print](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/2/0e23a34bc6d5ce9b19af7e4f81ff2ef62081f305.png)

---

<div class="post-metadata">

**Author:** ![doctorpepperdan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@doctorpepperdan](https://forums.unrealengine.com/u/doctorpepperdan)\
**Post date:** [May 14, 2025, 6:26am UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217/4 "2025-05-14T06:26:40Z")

</div>

Try inputing .1 on the world space normal pin on the world aligned texture node

---

<div class="post-metadata">

**Author:** ![xxxtchexxx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xxxtchexxx](https://forums.unrealengine.com/u/xxxtchexxx)\
**Post date:** [May 15, 2025, 1:53pm UTC](https://forums.unrealengine.com/t/landscape-auto-material-slope-in-different-directions/2504217/5 "2025-05-15T13:53:59Z")

</div>

I don’t know if this was what you suggested but it didn’t work, the orientation of the textures remains the same, here the problem is visible, I need to invert these for example in the direction of the dune’s descent, without the others that are in the right direction changing, I don’t know if there is a way to do this with master material.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/8/b38f9551c4bf64a5da3493c27f2dc610617b5139.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/4/2d4b48b6fcf2967ed6916243566db39f6ca595ab.png)
