
How to Add glitter as a Material Layer
Add Glitter Shader to a New Project
1. Launch Unreal Engine version 5.4 or above.
2. Create a new project by clicking GAMES, First Person, then the Create button.

3. Close the project.
4. Add Glitter Shader to the project through the Epic Games Launcher -> Unreal Engine -> Library tab or by migrating it from a project that already has Glitter Shader.
5. With Glitter Shader added to the project, reopen the project.
​6. Glitter Shader should now be added to the project in the folder Content/GlitterShader.

Add Glitter Shader to an Existing Material as a Material Layer
1. Open the material Content/LevelPrototyping/Materials/M_Solid.

2. Right click anywhere on the grid and create a MakeMaterialAttributes node

3. While holding CTRL:
-
Drag the material output’s Base Color pin into the MakeMaterialAttributes Base Color input.
-
Drag the material output’s Metallic pin into the MakeMaterialAttributes Metallic input.
-
Drag the material output’s Roughness pin into the MakeMaterialAttributes Roughness input.

4. Now rearrange the nodes so that the material output node is on the right.

5. Select the material output node (the brown one) and in the Details panel, set Use Material Attributes to True.

6. Right click in between the nodes and create a Material Function Call node.

7. With the new node selected, in the Details panel, select the material function MF_Glitter_MakeGlitterLayer.

8. To the right of the node just created, right click and create a MatLayerBlend_Standard node.

9. Connect the nodes as follow:
-
MakeMaterialAttributes output connects to MatLayerBlend_Standard input Base Material.
-
MF_Glitter_MakeGlitterLayer output Material connects to MatLayerBlend_Standard input Top Material.
-
MF_Glitter_MakeGlitterLayer output Alpha connects to MatLayerBlend_Standard input Alpha.
-
MatLayerBlend_Standard output Blended Material connects to the main material’s Material Attributes.

10. Click Apply and Save.

11. That’s it! All of the blue cubes in the level should now have Glitter Shader applied with the default settings.

12. To edit the Glitter Shader parameters, open the material instance MI_Solid_Blue, the material on the blue cubes.

13. All of the Glitter Shader parameters are in groups G1 through G7. A full description of parameters can be found in the Glitter Shader User Guide.
