Bump mapping

Version 2 of 7

Bumped ripple floor.

PC · VGA mode 13h · 1996

This version

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.

How this version works

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.

Historical context · PC

  1. 1996 · Oxygene · Contrast

    The bumped ripple floor

    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.

  2. 1995 · Orange · The Sea Robot of Love

    2D bump on DOS

    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.

Platform
PC · VGA mode 13h
Era
PC
Rendered on
CPU
Tags
perspective floor · light map · 256 colours
Sources
The bumped ripple floor (1996)2D bump on DOS (1995)