Learn

Learning paths

Paths through the shaders: each takes a handful in an order that builds up, with the exercises to try after every one. Read a shader’s page, watch it built step by step, then make each step yourself in the playground, which checks your picture. The first path needs nothing before it.

A still from Flowing Color Field
8 shaders · 46 exercises

Start here

New to shaders: one of each kind, from a first picture made of coordinates to shapes, a scene in 3D, particles, a surface made of triangles and a sound.

A still from Flowing Color Field
4 shaders · 20 exercises

Noise & Texture

Surfaces made of randomness: value noise, domain warping and Voronoi cells, turned into flowing color, clay, stone and fire.

A still from Morphing Shapes
5 shaders · 30 exercises

Shapes & Symmetry

Flat shapes drawn from their distance functions, blended, morphed, folded and repeated around a center.

A still from Floating 3D Scene
6 shaders · 34 exercises

3D Scenes

Whole scenes in 3D from one fragment shader: a ray marched through every pixel, surfaces found by their distance, then lit and shaded.

A still from Particle Swarm
6 shaders · 25 exercises

Particles & Simulation

Many small things moving at once: particles, flow fields and simulations, computed on the GPU.

A still from Glass Orb
5 shaders · 21 exercises

Light & Materials

How surfaces treat light: glass and water that bend it, glazes that shine, and the reflections and highlights that make a material read as what it is.

A still from Smoke Stack
3 shaders · 16 exercises

Atmosphere

What light passes through: smoke, clouds and curtains of color, marched through step by step and lit from inside.

A still from Fractal Glow
4 shaders · 18 exercises

Fractals

Shapes that repeat inside themselves: one rule applied again and again, from glowing sets in 2D to branching bolts and solid fractals in 3D.

A still from Rippling Water
5 shaders · 28 exercises

Geometry

Shapes made of triangles, the way most 3D on a screen is drawn: a grid bent by a vertex shader into water, cloth or a planet, with nearer triangles hiding farther ones.

A still from A Shader That Keeps the Beat
3 shaders · 13 exercises

Sound & Rhythm

Shaders led by their sound: synthesis, envelopes and rhythm worked out on the GPU, with a picture that moves to them.