In this tutorial, we’ll create a plastic material in Unreal Engine 5 (UE5), starting with a basic material and gradually building it into a reusable shader with adjustable properties.
1. Creating a New Material
First, open the Content Drawer in Unreal Engine 5. You can do this using the Content Drawer button at the bottom of the editor or by pressing Ctrl + Space.
Navigate to your existing Materials folder. Keeping materials organized in one place makes it easier to find and reuse them as your project grows.
Right-click inside the folder and select Material from the Create menu.
Give the new material the name: M_GlossyPlastic
The M_ prefix helps identify this asset as a Material, making it easier to distinguish from Material Instances and other assets later.
Double-click the material to open it in the Material Editor.
Depending on your workspace layout, the Material Editor may open in a separate window or dock itself inside the main Unreal Editor. Either arrangement is fine. Docking it can be particularly useful because you can switch between your material and level viewport without constantly moving between windows.
2. Understanding the Material Editor
When the Material Editor opens, you’ll see a preview of your material alongside the material graph.
The main node in the graph is the Material Output node. This is where we connect the properties that determine how the material looks when applied to an object.
You’ll see several inputs, including:
- Base Color: Determines the overall color of the material.
- Metallic: Controls how metallic the surface appears.
- Specular: Controls the intensity of reflections on dielectric materials.
- Roughness: Controls how sharp or blurred reflections appear.
- Normal: Controls surface direction and detail.
For our glossy plastic shader, we’ll mainly work with Base Color and Roughness.
Before adding anything, move the Material Output node towards the right side of the graph. This gives us some room on the left to build our material using nodes.
Rather than entering values directly into the Material Output node, we’ll use individual nodes and connect them to the appropriate inputs.
This is a more flexible way of working because it allows us to combine values, perform mathematical operations, and eventually expose parameters that can be controlled through Material Instances.
3. Creating the Base Color
Let’s start by creating the base color for our plastic.
We want the material to be white, so we’ll need to create a Constant node.
On the material graph, hold down the 3-key and left-click to add a Constant 3 Vector node.
A Constant node represents a single numerical value. In this case, we’ll use it to control the brightness of our material.
To change the color, you have two options. You can change the X, Y, and Z values directly on the Constant node or you can use the Detail Panel and change the Constant color.
In a color input, a value of 0 represents black, while 1 represents maximum brightness for that channel.
Now, drag a connection from the Constant node’s output to the Base Color input on the Material Output node.
You should immediately see the preview sphere update to a white material.
Although this is a simple setup, it demonstrates an important principle: material properties can be driven by nodes rather than being limited to values entered directly into the output node.
4. Adjusting the Roughness
Now that we’ve established the base color, we need to make the material look like plastic.
One of the most important properties for achieving this is Roughness.
Roughness determines how light reflections behave across the surface. A low roughness value creates sharper, more defined reflections, while a high value produces softer, more diffuse reflections.
For our plastic, we want a relatively low roughness value for a glossy plastic.
Hold down the 1-key and left-click to add a Constant node.
Set its value to: 0.15
Now connect the Constant node to the Roughness input on the Material Output node.
At this point, the material should have a white base color with a glossy finish.
Here’s a quick guide to understanding the effect of different roughness values:
0.0 – Mirror-like
Very sharp reflections. Can look excessively shiny for ordinary plastic.
0.15 – Glossy plastic
A polished surface with clear highlights. This is our starting point.
0.4 – Satin finish
Softer reflections with a less polished appearance.
0.8 – Matte plastic
Very broad, diffused reflections.
For this particular material, 0.15 is a good starting point. It gives us a polished plastic appearance without making the surface look completely reflective.
5. Saving and Testing the Material
At this stage, our basic glossy plastic shader is complete.
Click Apply and then Save in the Material Editor.
Return to your level and apply the material to an object.
You can do this by dragging the material from the Content Drawer onto a mesh in the viewport
Take a moment to inspect how it looks under your scene lighting.
Remember that a glossy material needs something to reflect. If your scene has very flat lighting or no interesting surrounding objects, the material might not look particularly glossy, even with a low roughness value.
Now that we have a working shader, let’s make it more flexible.
6. Creating a Material Instance for More Control
One of the biggest advantages of working with materials in Unreal Engine is the ability to create Material Instances.
A Material Instance is essentially a child of your original material. It inherits the original shader setup but allows you to adjust exposed parameters without editing the underlying material graph.
This is particularly useful when you want multiple variations of the same material.
For example, imagine creating several plastic objects for a scene. One might need to be glossy white, another satin blue, and another a matte black plastic.
Instead of creating three separate materials, we can use one parent material and create multiple instances.
Let’s set that up.
First, return to the Content Drawer and locate your material.
Right-click the material and select: Create Material Instance.
Rename the new asset: MI_GlossyPlastic.
The MI_ prefix identifies this asset as a Material Instance.
Double-click it to open the Material Instance Editor.
You’ll notice that it looks different from the standard Material Editor. Instead of a node graph, you’ll see a list of material properties with checkboxes that allow you to override exposed parameters.
However, there’s one important thing to understand: our original Constant nodes are not yet exposed as adjustable parameters.
We need to change them first.
7. Converting Constants into Parameters
Go back to the original material.
We want to make both the Base Color and Roughness adjustable from our Material Instance.
The first step is to convert the Constant nodes into Parameters.
Select the Constant node connected to Base Color. Right-click it and choose Convert to Parameter.
Rename the parameter: PlasticColor.
Next, select the Constant node connected to Roughness and convert that into a parameter as well.
Give it the name: PlasticRoughness.
Your graph should now have two parameter nodes:
- PlasticColor, connected to Base Color.
- PlasticRoughness, connected to Roughness.
Click Apply and save the material.
We’ve now made these two properties available to Material Instances.
8. Adjusting the Material Instance
Return to your Material Instance and open it.
You should now see the two parameters we created:
- PlasticColor
- PlasticRoughness
Each parameter has a checkbox beside it. Enable the checkbox to override the parent material’s default value.
This is where Material Instances become particularly useful.
You can now change the color and roughness without touching the original material graph.
9. Creating Multiple Material Instances
Now that we have our parameters working, we can create a small library of plastic materials.
You can create these variations by duplicating the Material Instance in the Content Drawer (Ctrl +D) and changing the parameter overrides in each instance.
The original material remains unchanged, so you can always return to it and modify the overall shader if necessary.
For example, let’s create a few variations.
Glossy White Plastic
- Color: White
- Roughness: 0.15
Satin Plastic
- Color: Blue
- Roughness: 0.4
Matte
- Color: Black
- Roughness: 0.8
Each Material Instance uses the same parent material but has its own color and roughness settings.
This makes managing materials much easier, especially when working on larger environments, product visualizations or game assets.
You can also apply different instances to different objects in your level without creating additional shader graphs.
Another advantage is that Material Instances generally allow parameter changes without recompiling the underlying material shader each time. This makes them a very efficient way to manage material variations.
Conclusion
We’ve now created a simple glossy plastic material in Unreal Engine 5, starting with a white Base Color and a Roughness value of 0.15.
More importantly, we’ve learned how to build the shader using connected nodes rather than relying entirely on values entered directly into the Material Output node.