All effects

light[x + ∂h/∂x , y + ∂h/∂y]

Bump mapping.

1978 to today

A flat image that catches the light like embossed metal. Blinn's 1978 idea, fake the surface normal, keep the geometry, turned in the mid-'90s into one of the most satisfying tricks on the demo screen.

Research16-bitPCGPU

How it works

The algorithm

Keep a height map. At every pixel, take the height differences to its neighbours: that is the slope, and the slope tilts the surface normal. Light the pixel with that tilted normal instead of the flat one. The silhouette never changes, only the shading does, so a flat screen or a smooth sphere suddenly looks embossed, riveted or carved.

The old-hardware trick

No normals, no dot products: the 2D demo version adds the height differences straight to the pixel's offset from the light and reads a precomputed light-spot image at that position. Two subtractions, two additions and one table read per pixel, the light ‘sees’ the slopes for free.

Per frame, in pseudo-code
// once: a light spot, bright in the middle
LIGHT[y][x] = (1 − dist(x, y, centre))^p

for y, x in screen:
  nx = H[y][x+1] − H[y][x−1]       // slope
  ny = H[y+1][x] − H[y−1][x]
  lx = x − light.x + nx + 128
  ly = y − light.y + ny + 128
  pixel = palette[LIGHT[ly][lx]]

Timeline

Documented milestones, with a source for each. Famous examples, not claims of who did it first.

  1. 1978Research

    Perturbing the normal

    James Blinn · Research rendering

    Blinn's method changes the surface normal instead of the geometry, the origin of both the apparent relief and the unchanged silhouette. Research, not real time.

    Source
  2. 1995PC

    2D bump on DOS

    Orange · The Sea Robot of Love · DOS · 64K

    Cited in Scout's coding article as a 2D bump example: per-pixel x/y offsets into a precomputed lighting map. Shown at The Party 1995.

    Source
  3. 1996PC

    The bumped ripple floor

    Oxygene · Contrast · MS-DOS

    Winner of the PC demo compo at Saturne Party 1996 (code by Oxbab). One scene lays a water-ripple image, tiled, as a floor in perspective and runs bump lighting across it: per-pixel relief on a moving 3D plane instead of a flat screen. For many, the most beautiful bump of the era.

    Source
  4. 199616-bit

    Bump plus rotozoom

    C-Lous · Kolor Remix · Amiga AGA

    Bump lighting combined with a zoom-rotator at Remedy 1996: the technique on a classic 68k machine.

    Source
  5. 199716-bit

    A bump-mapped bowl

    Origo / Subspace · Toltec 9 · Amiga · 68030

    The credits list a ‘Wrapping Bumpmapped Bowl Effect’, bump mapping on a curved object, not a flat embossed screen.

    Source
  6. 2000GPU

    Bump mapping on the GPU

    Mark Kilgard / NVIDIA · GDC 2000 · NVIDIA OpenGL GPUs

    Normal maps, normalisation cube maps and register-combiner dot products: the bridge from lookup tricks to per-pixel GPU lighting.

    Source
  7. todayGPU

    Normal mapping as routine

    Joey de Vries · LearnOpenGL · OpenGL · GLSL

    Tangent-space normal maps make detailed surface lighting standard without adding a single triangle.

    Source

Over time

7 live versions, from the oldest platform to today: 5 on the CPU, 2 on the GPU. Retro versions run at their original resolution and palette. Demos pause when off screen.

PC · VGA mode 13h

2D bump

1995

An embossed monogram, rivets and noise, lit by a wandering light through a precomputed light spot, two subtractions and a table read per pixel, in copper tones.

PCCPUlight map256 colours
Detail page
PC · VGA mode 13h

Bumped ripple floor

1996

After Oxygene's Contrast: a tiled water-ripple height map laid out as a perspective floor, its slopes bending a light spot that drifts across it, in dusky violet tones.

PCCPUperspective floorlight map256 colours
Detail page
Amiga AGA

Bump rotozoom

1996

After Kolor Remix: the height map rotates and zooms underneath the light, so the relief shifts while the light stays put.

16-bitCPUrotozoom12-bit colour
Detail page
Amiga · 68030

Bumped sphere

1997

The height map wrapped around a turning sphere: its slopes tilt the sphere's real normals before diffuse and specular lighting.

16-bitCPUcurved surfacePhong
Detail page
PC · true colour

Coloured lights

late '90s

Three lights, red, green, blue, each read from the same light map and added up. Where they overlap, the bumps turn white.

PCCPUadditiveRGB
Detail page
GPU · GLSL

Normal mapping

2000

Per-pixel normals from a procedural brick height field, Blinn-Phong lighting from a moving point light with falloff.

GPUGPUnormal mapBlinn-Phong
Detail page
GPU · GLSL

Parallax occlusion

2006

Step along the view ray through the height field until it is hit, so bumps hide each other as the view tilts, plus self-shadowing toward the light.

GPUGPUray steppingself-shadow
Detail page