Editing Material Functions

A look at the process of editing and making changes to material functions.

Windows
MacOS
Linux

This document assumes a working knowledge of the concept of material functions. For more information, see the Material Function Overview page.

Editing Material Functions

At times, you may need to change the functionality of a material function. This can be done directly from the Content Browser, or from within a material utilizing the given function.

In either the Content Browser or the Material Editor's Graph tab, you can double-click on a material function to open it up within a separate Material Editor tab and see the network of material expressions that make it up. In this way, the internal network of a material function can be edited and updated at any time.

FunctionEncapsule.png

However, it is important to note that any changes made and saved to a material function will be present in all instances of that material function moving forward. For example, if you made a change to the internal network of a Radial Gradient material function, all existing instances of that function would receive the update, as well as all new instances moving forward.

For this reason, unless you are certain that your change needs to propagate throughout all other instances of the function, it may be wise to make a copy of an existing function in the Content Browser (right-click and choose Duplicate from the context menu) rather than editing the original material function.

Once you make changes to a function you have to click the button_apply.png button to propagate the changes to the function asset and any materials using the function. Once done, be sure to save your asset in the Content Browser!

Tags
Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback