This version
As in Wolfenstein 3D: brick, wood and stone textures, each wall slice one scaled texture column. Floors and ceilings stay flat colour.
How this version works
At 320 columns wide, this CPU renderer scales one texture column into each projected wall slice. The fractional wall-hit position selects the horizontal coordinate in a precomputed 64×64 brick, wood or stone texture. Vertical coordinates come from the slice's unclipped height, so close walls retain the correct texture scale when cropped. Y-facing walls are shaded to 70% brightness, while the ceiling and floor remain two flat greys without distance fading.
The trick in this version
Vertical walls and a level camera make each slice a simple one-dimensional texture scale rather than a general polygon mapping. The textures are stored in 32-bit typed arrays, and their power-of-two size allows vertical wrapping with a bit mask rather than a remainder operation.
Historical context · PC
1992 · id Software
Wolfenstein 3D
256-colour textured walls at speed on a 286: not the first raycaster, but the VGA breakthrough that took it mainstream and started the first-person shooter.
1992 · NovaLogic · Comanche
Voxel Space
The same per-column casting over a height map instead of a tile grid. See the voxel landscape page for that branch.
1991 · id Software
Hovertank 3D
Flat, untextured walls drawn by casting rays across a tile map: the first of two raycasting games John Carmack built for Softdisk before Wolfenstein.
- Platform
- PC · VGA 320×200
- Era
- PC
- Rendered on
- CPU
- Tags
- texture columns · 256 colours