# facing issues with procedural material

**URL:** <https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650>\
**Category:** Rendering\
**Tags:** landscape-painting, procedural-geometry, unreal-engine, question\
**Created:** [March 21, 2021, 5:36pm UTC](https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650 "2021-03-21T17:36:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![INVENTAUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@INVENTAUR](https://forums.unrealengine.com/u/INVENTAUR)\
**Post date:** [March 21, 2021, 5:36pm UTC](https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650/1 "2021-03-21T17:36:02Z")

</div>

so far i had success using slope as factor to determine material, now when i try to use height, i succeded once , but as soon as i put 2nd height , the material preview shows it right but i cant preview it in my material layer in paint options of landscape, its still successful in using one slope though… check the attachments please to understand more… ask if u need some more detail!

 ![333117-sand-and-wetsand.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/6/c46aca619cc33a034d7953e9985721f26b1d25ec.png)

alt text

 ![333119-wet-sand-sand-grass.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/8/8b821e07f919b6cdb92d24f97dd004e146c9562d.png)

 ![333120-file.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/b/c7be96d0370746ecc954c41656e1bdfee7aa6977.jpeg)

---

<div class="post-metadata">

**Author:** ![INVENTAUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@INVENTAUR](https://forums.unrealengine.com/u/INVENTAUR)\
**Post date:** [March 21, 2021, 5:37pm UTC](https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650/2 "2021-03-21T17:37:41Z")

</div>

More over my working file capture.

 ![333135-capture-working-wet-sand-sand-and-slope-cliff.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/6/ae67b0beaff883839174bfba1a9dc521626bc4e8.jpeg)

2nd issue is when ever i try to paint over my porcedural material in this level, the material vanishes. XD

---

<div class="post-metadata">

**Author:** ![INVENTAUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@INVENTAUR](https://forums.unrealengine.com/u/INVENTAUR)\
**Post date:** [March 21, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650/3 "2021-03-21T17:41:03Z")

</div>

and if i want to create a procedural between sand and vegatation post existing wet sand and sand in a height parameter, is this the right way?

 ![333136-if.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/0/520db9b21837f968e9c5b6eafc3d6523ac7f2e7e.jpeg)

---

<div class="post-metadata">

**Author:** ![INVENTAUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@INVENTAUR](https://forums.unrealengine.com/u/INVENTAUR)\
**Post date:** [March 29, 2021, 3:48pm UTC](https://forums.unrealengine.com/t/facing-issues-with-procedural-material/480650/4 "2021-03-29T15:48:58Z")

</div>

Found the fix, had to convert all textures to wrap. thats all.
