Unity Wave Shader Made of Circles (URP HLSL Tutorial) @GameDevBox
Unity Wave Shader Made of Circles (URP HLSL Tutorial)  @GameDevBox
Uploaded November 2026 | Updated November 2026, 1 hour ago
🌊 Build a glowing wave shader in Unity URP from half circles instead of a sine wave. Every line of the HLSL is explained, so you can follow along even if you've never written a shader before: UV coordinates, frac, the circle formula, flipping every other bump, bending the shape, inside/outside with smoothstep, animating with time, and keeping an even thickness.

⭕ Why a circle wave?
A sine wave is smooth and easy, but a little soft. Half circles give sharper turns, which makes the shape feel alive. The same trick works for flames 🔥, smoke wisps 💨, magic trails ✨ and UI effects.

📦 Get the shader (HLSL + a Shader Graph version):
github.com/GameDevBox/Wave-Shader-Made-of-Circles

👻 Wishlist Recursive Nightmare, my indie psychological horror game, on Steam:
store.steampowered.com/app/4987450/Recursive_Nightmare/?utm_source=youtube&utm_medium=description&utm_campaign=circle_wave_shader

⏱️ Chapters
00:00 Not a sine wave
00:13 UV coordinates
00:36 Sine wave vs circle wave
00:50 Line 1: x = y × frequency
01:02 Line 2: frac and segments
01:21 Line 3: the half circle
01:39 Line 4: flip every other bump
02:00 The Width function
02:14 Bending the shape
02:36 Inside or outside
02:59 Recursive Nightmare
03:13 Making it move and polish
03:35 Even thickness and using it

#Unity #Shaders #GameDev
Unity Wave Shader Made of Circles (URP HLSL Tutorial)My Horror Game 👀 A first-person psychological horror game #indiegameChange Unity Editor Color to Dark in less than 1 minute (Windows)Easiest way to take a Screenshot in unity | built-in | URP | HDRPProcedural Animated Organic in Unity - Shader Graph (HDRP, URP, Built-in) - VFXNative file browser for unity standalone platforms - Unity AssetsShader Graph Unity 2020 | Time Node Tutorial | Example !Gradle Build Error Unity #tutorial #gamedesign #unitydevelopmentAvoid Using Tags in Unity! - OptimizationHow To Change Read/Write For Mesh Assets FormatSmooth Camera Movement in Unity3D #ShortThis nightmare has no exit
Game Dev Box |

Unity Wave Shader Made of Circles (URP HLSL Tutorial)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER