# Procedural edge wear

**URL:** <https://forums.unrealengine.com/t/procedural-edge-wear/468857>\
**Category:** World Creation\
**Tags:** unreal-engine, procedural, question\
**Created:** [July 29, 2020, 3:40pm UTC](https://forums.unrealengine.com/t/procedural-edge-wear/468857 "2020-07-29T15:40:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leroy\_124001](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Leroy\_124001](https://forums.unrealengine.com/u/Leroy_124001)\
**Post date:** [July 29, 2020, 3:40pm UTC](https://forums.unrealengine.com/t/procedural-edge-wear/468857/1 "2020-07-29T15:40:57Z")

</div>

Hey guys! Was wondering if Unreal had any material functions for detecting edges so you can do stuff like edgewear.

---

<div class="post-metadata">

**Author:** ![bPatrik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bpatrik/32/1151265_2.png) [@bPatrik](https://forums.unrealengine.com/u/bPatrik)\
**Post date:** [November 4, 2025, 6:58pm UTC](https://forums.unrealengine.com/t/procedural-edge-wear/468857/2 "2025-11-04T18:58:33Z")

</div>

Did you find anything that works? I only found some that i couldnt configure myself to work

---

<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:** [November 5, 2025, 4:07pm UTC](https://forums.unrealengine.com/t/procedural-edge-wear/468857/3 "2025-11-05T16:07:19Z")

</div>

Distance to nearest surface.

It’s a bit expensive and the distance is driven by what is essentially water depth (you can’t just take one plane).

Otherwise you use custom textures which is always a better option.

Make a quick postprocess to turn water white, landscape black. Set up a screen render and take a picture to an RT.

Save it out and use away in your materials.

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [November 5, 2025, 5:25pm UTC](https://forums.unrealengine.com/t/procedural-edge-wear/468857/4 "2025-11-05T17:25:50Z")

</div>

One of the easiest ways to do edge wear is with a curvature mask as a starting point, you can either bake a texture for each mesh or use something like this [Curvature](https://www.markserena.com/post/ue_screenspacecurvature/)
