2D bump
1995An 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.
light[x + ∂h/∂x , y + ∂h/∂y]
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.
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.
// 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]]Documented milestones, with a source for each. Famous examples, not claims of who did it first.
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.
SourceOrange · 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.
SourceOxygene · 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.
SourceC-Lous · Kolor Remix · Amiga AGA
Bump lighting combined with a zoom-rotator at Remedy 1996: the technique on a classic 68k machine.
SourceOrigo / Subspace · Toltec 9 · Amiga · 68030
The credits list a ‘Wrapping Bumpmapped Bowl Effect’, bump mapping on a curved object, not a flat embossed screen.
SourceMark 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.
SourceJoey de Vries · LearnOpenGL · OpenGL · GLSL
Tangent-space normal maps make detailed surface lighting standard without adding a single triangle.
Source7 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.
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.
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.
After Kolor Remix: the height map rotates and zooms underneath the light, so the relief shifts while the light stays put.
The height map wrapped around a turning sphere: its slopes tilt the sphere's real normals before diffuse and specular lighting.
Three lights, red, green, blue, each read from the same light map and added up. Where they overlap, the bumps turn white.
Per-pixel normals from a procedural brick height field, Blinn-Phong lighting from a moving point light with falloff.
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.