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.
- Candy stripes Easy

- Polka dots Easy

- Dot wave Easy

- Brick wall Medium

- Truchet maze Medium

- Cellular Voronoi Hard

- 5×5 tiled rings with a dark vignette Easy

- Circle with a border Easy

- 6×6 tiled rays with a border Easy

- Scrolling diamond with a dark vignette Easy

- Tilted grid with a border Easy

- Tilted hexagon outline with a border Easy

- Scrolling grid with a border Easy

- Scrolling diamond outline Easy

- 6×6 tiled checkerboard with a dark vignette Easy

- Grid with a dark vignette Easy

- Stripes with a dark vignette Easy

- Staggered dots with scanlines Easy

- Ring with a dark vignette Easy

- Tilted cross with a dark vignette Easy

- Tilted dots Easy

- Rays with a border Easy

- 2×2 tiled diamond with a dark vignette Easy

- Tilted diamond lattice with a dark vignette Easy

- Scrolling grid Easy

- 2×2 tiled staggered dots Easy

- Triangle with a fade to dark at the bottom Easy

- Tilted dots with a dark vignette Easy

- Dots with scanlines Easy

- 5×5 tiled diamond lattice Easy

- Scrolling square with a border Easy

- 4×4 tiled staggered dots with a border Easy

- Tilted staggered dots Easy

- Scrolling checkerboard with a border Easy

- Mirrored rays Easy

- Mirrored staggered dots Easy

- Scrolling dots with a border Easy

- Tilted rays Easy

- Scrolling rings with a border Easy

- 4×4 tiled ring Easy

- 2×2 tiled rays Easy

- Tilted diamond Easy

- Scrolling diamond lattice Easy

- Mirrored stripes with a border Easy

- Scrolling ring outline Easy

- Diamond lattice with a dark vignette Easy

- Scrolling diamond lattice with a dark vignette Easy

- 3×3 tiled stripes with a border Easy

- 3×3 tiled grid with a dark vignette Easy

- Four-way mirrored stripes with a dark vignette Easy

- Rays with a dark vignette Easy

- Triangle with a border Easy

- Scrolling rings with a dark vignette Easy

- Square with a fade to dark at the bottom Easy

- Mirrored stripes with a dark vignette Easy

- Tilted diamond outline Easy

- Scrolling rays with a border Easy

- 3×3 tiled grid with a border Easy

- Scrolling circle with a dark vignette Easy

- 2×2 tiled rays with a dark vignette Easy

- Scrolling diamond Easy

- Mirrored rays with a dark vignette Easy

- Scrolling stripes with a dark vignette Easy

- Checkerboard with scanlines Easy

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