Using Material Functions

How to use material functions within your materials.

Windows
MacOS
Linux

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

Applying Material Functions

Once you have created and edited your material function, you can add it into an existing material by dragging it directly from the Material Editor Palette, or from the Content Browser into a Material Editor. It will contain the various inputs and outputs defined by the input and output nodes within the function.

FunctionLibrary.png

DragDrop.png

Alternatively you can hold down the F key and click in the material editor with the function selected in the Content Browser. If no function is selected in the Content Browser, this creates a blank MaterialFunctionCall node.

EmptyFunctionCall.png

You can then assign an existing material function via the properties window and the Material Function property. Simply select the desired function in the Content Browser and click the arrow button next to the assignment slot.

EmptyFunctionCall.png

Tags

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