# Material Function

**URL:** <https://forums.unrealengine.com/t/material-function/457409>\
**Category:** Rendering\
**Tags:** unreal-engine, question, function-signature\
**Created:** [October 23, 2019, 2:21pm UTC](https://forums.unrealengine.com/t/material-function/457409 "2019-10-23T14:21:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IppolitoGermer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ippolitogermer/32/462694_2.png) [@IppolitoGermer](https://forums.unrealengine.com/u/IppolitoGermer)\
**Post date:** [October 23, 2019, 2:21pm UTC](https://forums.unrealengine.com/t/material-function/457409/1 "2019-10-23T14:21:51Z")

</div>

Hi, I would like to recreate this material function, however I have never had anything to do with this function.  
It is the right time to learn.  
Source: [https://twitter.com/Luos\_83/status/1097823038089891841](https://twitter.com/Luos_83/status/1097823038089891841)

![290921-20191023-1607201.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/8/1081435c7b40fb849e048942a9470aa3a39a7caa.png)

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [October 23, 2019, 5:25pm UTC](https://forums.unrealengine.com/t/material-function/457409/2 "2019-10-23T17:25:45Z")

</div>

be me: Get asked the same question this morning:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/b/72b13c0a451b473ca6c1a276fa902d444723d394.png)

Original tweet already had info about this:

> <https://twitter.com/Luos_83/status/1097823038089891841>

and I quote:  
_ **vfx\_sathueemissive is just a collection of material parameter collections controlling saturation, hueshift, and emissiveness along with particle color.** _

I replied explaining what is inside this material function again.

I also replied explaining what’s in the other function in the original tweet:

_ **the nearcamfade is just pixeldepth so I can fade out the effect up close** _

Replied to this tweet explaining that there is a material function that does the same thing, and basically has the same name.  
Few hours later the tweet is deleted \<\_\<

Exact same question is asked here.

It is a custom made material function, it has a huehift, desaturation, and a multiplier for emissive strength, and has a built-in particle color (RGB) so I don’t have to place it manually.

There is no reason to ask on answerhub what this function does, as it is custom made by me, Luos.

So: Google the following: “_ **UE4 how to make material function** _” and watch some tutorials.

use the UE4 material compendium (Google: “_ **UE4 material compendium** _”) and read up on _ **"hueshift", "desaturation, Material parameter collections"** _, and anything else you find interesting.

Apply knowledge to make your own material function.  
I know you can do it.

---

<div class="post-metadata">

**Author:** ![IppolitoGermer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ippolitogermer/32/462694_2.png) [@IppolitoGermer](https://forums.unrealengine.com/u/IppolitoGermer)\
**Post date:** [October 23, 2019, 5:43pm UTC](https://forums.unrealengine.com/t/material-function/457409/3 "2019-10-23T17:43:26Z")

</div>

thank you very mouch!

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [October 24, 2019, 8:44am UTC](https://forums.unrealengine.com/t/material-function/457409/4 "2019-10-24T08:44:27Z")

</div>

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/6/9b6d944d4b5c1c9404ed4c280cd0c9619dc8af6f.jpeg)

This is the material function btw.  
I do suggest to use that material compendium and go over material related tutorials as it will massively increase your fun, joy, and knowledge about UE4 🙂  
As for the nodes with “MPC\_VFX\_ColorCtrl” those are part of a material parameter control.  
That is something you’ll need to study and learn trough the material compendium and wikis.  
Good luck!
