Procedural pattern shaders

Procedural patterns: tiles, stripes, rings, grids and waves made from math instead of images. They scale to any resolution and can animate for free.

There are 64 shaders here. Open one to see the target picture, the techniques it uses and a step-by-step approach, then write it yourself in HLSL (Unity, Unreal), GLSL (Shadertoy, three.js), WGSL (WebGPU), Metal or Godot.

More shader topics

Visual effect shaders · Fire, cloud and nature shaders · 3D shaders in a pixel shader · 2D shape shaders · Post-processing and filter shaders · Water shaders · Ray marching shaders · Game effect shaders · Rasterizer, ray tracer and planet shaders · Mesh, vertex and toon shaders