
What is the Spiral Circle HLSL Shader in UE4 Material Custom Node?
This tutorial is Part 2 of the CGHOW HLSL shader series and demonstrates a spiral circle shader written in HLSL inside an Unreal Engine 4.26 Material Custom Node. It shows how custom shader code can drive procedural spiral circle visuals within a UE4 material.
How is the Spiral Circle HLSL Shader Structured?
The setup pairs Unreal Engine 4.26’s Material Custom Node with an external HLSL shader include file so the spiral circle logic stays organized outside the material graph.
- Engine Target: Built for Unreal Engine 4.26 using a Material Custom Node.
- External HLSL File: Uses the
spiral_circle.ushshader include file located at\content\HLSL\code\spiral_circle.ush. - Required Setup Step: Before opening the project, copy
spiral_circle.ushfrom\content\HLSL\code\spiral_circle.ushto\Program Files\Epic Games\UE_4.26\Engine\spiral_circle.ush. - Series Context: Part 2 of the HLSL shader series, alongside related custom-node shader tutorials for magical circle and rays effects.
Spiral Circle HLSL Shader Breakdown
| Component | Details | Role in Setup |
|---|---|---|
| Unreal Engine Version | Unreal Engine 4.26 | Target engine version for the shader and project files |
| Material Node | Material Custom Node (HLSL) | Executes the spiral circle HLSL shader inside the material |
| Source Include File | \content\HLSL\code\spiral_circle.ush | External HLSL file included with the project |
| Engine Destination Path | \Program Files\Epic Games\UE_4.26\Engine\spiral_circle.ush | Required copy location before opening the UE4.26 project |
Tutorial Access & Project Files
- YouTube Video: Watch Spiral Circle HLSL Shader Part 2 in UE4 Material Custom Node
- Project Files: Download Project Files from Patreon (remember to copy
spiral_circle.ushfrom\content\HLSL\code\spiral_circle.ushto\Program Files\Epic Games\UE_4.26\Engine\spiral_circle.ushbefore opening the project).
More material tutorials: Galaxy Parallax Material · Heart Shape Material · Rays Material FX
More like this: Magical Circle HLSL Shader in UE4 Material Custom Node · Rays HLSL Shader in UE4 Material Custom Node
Frequently asked questions
Which Unreal Engine version is this Spiral Circle HLSL shader built for?
This tutorial and its downloadable project files are set up for Unreal Engine 4.26 using a Material Custom Node.
Why must spiral_circle.ush be copied to the UE_4.26 Engine folder?
Copying spiral_circle.ush from \content\HLSL\code\spiral_circle.ush into \Program Files\Epic Games\UE_4.26\Engine\spiral_circle.ush ensures Unreal Engine can resolve the external HLSL shader file before opening the project.
Where can I get the project files for Part 2 of the HLSL shader series?
The project files are available to download on Patreon, and the full walkthrough is embedded in the YouTube video above.


Leave a Reply