top of page
GlitterBannerPlaceholder.jpg

How to Create a Glitter Overlay MAterial (Masked)

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.

Create a Glitter Shader Overlay Material (Masked)

1. To keep things simple, for this tutorial we will create a material in the Content folder.

2. Right click in the Content folder and create a new Material.

3. Name it “M_GlitterOverlayMasked

4. Open the material.

5. In the Details panel, set the Blend Mode to Masked.

6. Right click anywhere on the grid and create a Material Function Call node.

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

8. Connect the following pins from MF_Glitter_MakeGlitter to the main material’s corresponding pins.

  • Glitter Base Color --> Base Color

  • Glitter Metallic --> Metallic

  • Glitter Roughness --> Roughness

  • Glitter Emissive --> Emissive Color

  • Glitter Opacity --> Opacity Mask

  • Glitter Normal --> Normal

  • World Position Offset ONLY for Overlay Material --> World Position Offset

9. Click Apply and Save.

10. In the Content Browser, right click the material and Create Material Instance.

11. Name the material instance “MI_GlitterOverlayMasked

12. In the level, select one of the blue cubes.

13. With the cube selected, in the Details panel, search for “overlay

14. For the setting Rendering -> Advanced -> Overlay Material, assign the material instance MI_GlitterOverlayMasked.

15. That’s it! Glitter should now be applied to the blue cube with default settings.

16. To edit the Glitter Shader parameters, open the material instance MI_GlitterOverlayMasked.

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

bottom of page