# Simple Dirt cleaning process

**URL:** <https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [July 14, 2026, 9:11am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598 "2026-07-14T09:11:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuthlessBear4244](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RuthlessBear4244](https://forums.unrealengine.com/u/RuthlessBear4244)\
**Post date:** [July 14, 2026, 9:11am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/1 "2026-07-14T09:11:23Z")

</div>

Hi,

I am trying to create a simple way of clean dirt of a small object to expose a code. I have spent far to long on this for how much of my game its meant to be lol.

Everything i find points to using lerp. having 2 materials and then line trace the mouse to make the touched parts of the dirt material opaque.

I tried asking ai for help but i think they have stop feeding the hamsters because it has no idea what it is talking about.

Are there any resources for this? Is this the best method. Should i just not both because its not a simple thing to create and with the amount of my game its actually in its not worth it.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 14, 2026, 9:44am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/2 "2026-07-14T09:44:49Z")

</div>

Yes, lerp.

Moving the lerp is not really the problem, you just change a scalar parameter in the material instance. How you give the player the feeling they are cleaning it, might be the main problem.

What the player experiences varies:

One click and the dirt suddenly disappears

or

One click and the dirt slowly disappears

or

Scrubbing the mouse of the surface for a few seconds until it’s gone. And so on…

Anyway, the main base color concept would look something like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/8/c28679a0d6b05c94ccfc6a09b0de2bde57095274.png)

This is extremely basic, but changing the dirt param from 1 to 0 gives

![dirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/4/b04287fab36e5c8330e25755c6e2415fd60839be.gif)

---

<div class="post-metadata">

**Author:** ![RuthlessBear4244](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RuthlessBear4244](https://forums.unrealengine.com/u/RuthlessBear4244)\
**Post date:** [July 14, 2026, 10:11am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/3 "2026-07-14T10:11:42Z")

</div>

Thanks for reply but lerp does not seem to be in 5.5.4 which is why i think the ai is throwing a spanner. I am happy for click or rub. thinking about it as my game is a clicker game clicking so it slowly gets cleaner and cleaner seems to fit.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 14, 2026, 10:13am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/4 "2026-07-14T10:13:24Z")

</div>

Lerp has been in the engine since 3.0 🙂

Hold L and click in the material graph.

---

<div class="post-metadata">

**Author:** ![RuthlessBear4244](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RuthlessBear4244](https://forums.unrealengine.com/u/RuthlessBear4244)\
**Post date:** [July 14, 2026, 10:18am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/5 "2026-07-14T10:18:35Z")

</div>

🤣 “as if by magic the shop keeper appeared” right click and type lerp and its not there!!

Thanks you soo much

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 14, 2026, 10:19am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/6 "2026-07-14T10:19:25Z")

</div>

Here it is ( when you type ‘lerp’ )

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/d/00d404cb97c761d61e52a67459128d785b82c11c.png)

It’s what lerp stands for 😉

You can get it to look a lot more like dirt or dust, but that would depend on the actual example.

---

<div class="post-metadata">

**Author:** ![RuthlessBear4244](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RuthlessBear4244](https://forums.unrealengine.com/u/RuthlessBear4244)\
**Post date:** [July 14, 2026, 10:44am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/7 "2026-07-14T10:44:14Z")

</div>

Lol brilliant thanks for your help. got it working exactly how i want now. thanks

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 14, 2026, 10:53am UTC](https://forums.unrealengine.com/t/simple-dirt-cleaning-process/2735598/8 "2026-07-14T10:53:38Z")

</div>

Good stuff 🤩
