Software:
Unreal Engine 4.18
Material Parameters and Material instances allow you to create a customizable material template that can be easily reused with variations across the project.
In the Parent Material, you define the parameters that will be exposed for tweaking in the Material Instances.
Changing the Parent Material will affect all its instances.
Defining customizable parameters in the Parent Material:
- Create 3Vector Constant. (press 3 and left click the blueprint background)
* Parameters can also be created with other types of data like a Constant or a Texture Sample and more. - Right click the 3Vector node you created and choose Convert to Parameter.
- In the Details Panel, name the parameter.
Creating the Material Instance:
- Right click the Parent Material and choose Create Material Instance.
- Name the Material Instance.
- Double click the Material Instance to edit it.
- In the Details panel, under Parameter Groups you will be able to edit the exposed parameters and create a variation of the material.
Related:
Material Functions
Blending Materials
2 thoughts on “Material Parameters and Instances in UE4”