# Custom Material Function help

**URL:** <https://forums.unrealengine.com/t/custom-material-function-help/2732585>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [June 30, 2026, 9:01pm UTC](https://forums.unrealengine.com/t/custom-material-function-help/2732585 "2026-06-30T21:01:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlose64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Carlose64](https://forums.unrealengine.com/u/Carlose64)\
**Post date:** [June 30, 2026, 9:01pm UTC](https://forums.unrealengine.com/t/custom-material-function-help/2732585/1 "2026-06-30T21:01:18Z")

</div>

I’m trying to follow this Stylized paint shader breakdown/blog/tutorial. Unfortunately, a lot of details have been omitted from this resource. I’ve tried my best to recreate this, but have come to an impasse. There seems to be what I can only assume is a custom material function named “Threewaylerp” used multiple times in this material. 2 confirmed instances of this node are shown, but the all-encompassing image (at the end of the breakdown) makes me believe there’s 5 uses of this node.

 ![This istheImage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/6/f66d051c60ee74b4817ef2c0e4378936bcb01ed4.jpeg)

(instance of node)

The tutorial/breakdown can be found [here](https://cyn-prod.com/stylized-paint-shader-breakdown)

I am hoping someone can help me understand what threewaylerp might do and how I could go about recreating it. Or maybe Gabriel de Laubier can find this post and also tell me what the missing nodes are in the giant blurry image at the end of the breakdown.  
For extra context, here are some previous forum questions associated with this tutorial:

> [@Need Help Finding Node in the Material Editor](https://forums.unrealengine.com/t/need-help-finding-node-in-the-material-editor/1242141/11):
>
> For the ApproxWorldSpaceNormal, it a re route node: [image] It is created near the input of Normalise and then being call from the Normal pin of the material(guessing by the image below) [image]

> [@Whats this node](https://forums.unrealengine.com/t/whats-this-node/2005852):
>
> Hi, I am trying to follow this documentation and I am struggling. Would anyone know what this node is? “ApproxWorldSpaceNormal”

For special extra context, I will also include what chatgpt told me to do, but I’m here because I don’t trust what it told me (it’s coming up with “theories”…)  
[here](https://chatgpt.com/share/6a442a4d-2854-83ea-973c-dbf69e402501)

any help would be appreciated, thanks.

---

<div class="post-metadata">

**Author:** ![illspiritx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Post date:** [July 1, 2026, 1:40am UTC](https://forums.unrealengine.com/t/custom-material-function-help/2732585/2 "2026-07-01T01:40:30Z")

</div>

I’m guessing it’s probably supposed to use an rgb mask to add brush strokes or grain to the lerp it’s feeding. Function could have a texture sample feeding default values to the math if it has no input. No way to know really without seeing what’s inside function. That it has no input in screenshot doesn’t help either lol.
