Spiral Circle HLSL Shader Part 2 in UE4 Material Custom Node

HLSL Shader in UE4 Material Custom Node
Spiral circle HLSL shader in a UE4 material, part 2

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.ush shader include file located at \content\HLSL\code\spiral_circle.ush.
  • Required Setup Step: Before opening the project, copy spiral_circle.ush from \content\HLSL\code\spiral_circle.ush to \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

ComponentDetailsRole in Setup
Unreal Engine VersionUnreal Engine 4.26Target engine version for the shader and project files
Material NodeMaterial Custom Node (HLSL)Executes the spiral circle HLSL shader inside the material
Source Include File\content\HLSL\code\spiral_circle.ushExternal HLSL file included with the project
Engine Destination Path\Program Files\Epic Games\UE_4.26\Engine\spiral_circle.ushRequired copy location before opening the UE4.26 project

Tutorial Access & Project Files

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.


Discover more from CGHOW

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.