Why PS1 Textures Wobbled: Affine Mapping Explained

PS1 affine texture mapping explained: the GPU had no per-pixel perspective divide, so big polygons near the camera warp and shimmer as the view turns.
Load an early PlayStation game, turn the camera on a long floor, and the checkerboard pattern does something a modern renderer never does: the squares stretch and swim instead of sliding cleanly. That shimmer is not a bug in the emulation and it is not a bad texture. It is the direct result of how the 1994 console drew textured polygons, and once you see the pipeline you can predict exactly which surfaces will wobble and why. The machine chose a cheaper way to map textures, and the wobble is the receipt.
What affine mapping actually does
The PlayStation GPU draws a textured triangle by interpolating texture coordinates linearly in screen space. Take a quad, split it into two triangles, and the rasterizer walks across each scanline, stepping the u and v coordinates by a fixed amount per pixel. That is affine mapping: a linear interpolation with no perspective divide per pixel. A perspective-correct renderer would interpolate u/w and v/w and divide by the interpolated 1/w at every pixel, which keeps the texture locked to the surface as it recedes. The PS1 skips that divide. The coordinates it computes are correct at each vertex and wrong in between, because a surface receding into the distance does not compress its texture evenly across the screen. On a wall seen head-on the error is small. On a floor stretching to the horizon it is obvious.
Where the GTE hands off to the GPU
The split between two chips explains why the shortcut existed. The GTE, the geometry transform engine, handles the matrix math: it rotates and projects vertices and turns a 3D position into a screen coordinate. The GPU then rasterises the resulting triangles. The GTE works in fixed point with limited vertex precision, so projected positions snap to a finite grid, which is one source of the jitter you see at edges. Once the GTE hands over screen-space vertices, the GPU has nothing left to work with but those 2D positions and the texture coordinates attached to them. It has no depth value per pixel to correct against, and no per-pixel divide. The hardware was built to push a lot of simple textured triangles quickly, not to solve perspective for every pixel.
- One large quad used as a floor or wall, because the linear error grows with the triangle’s size.
- A polygon close to the camera, where a small change in depth produces a large screen-space shift.
- Fast camera rotation, which makes the swimming pattern easy to see.
- High-contrast checkerboard or grid textures, which expose the stretching.
- Low fixed-point vertex precision, which adds jitter on top of the stretch.
Why subdividing the surface helps
The practical fix developers used was subdivision. Cut that long floor quad into a strip of smaller triangles and each one covers less screen area, so the difference between the affine step and the true perspective step shrinks. The texture coordinates are still wrong in the middle of each triangle, but they are wrong by less, and the error resets at every new vertex. That is why a tiled floor built from many small quads looks stable while a single giant polygon visibly warps. It costs more geometry: more vertices for the GTE to transform and more triangles for the GPU to set up. On a machine sold on pushing polygons, spending triangles to hide a math shortcut was a real budget decision, and you can see it in how different scenes are built.
No z-buffer, so an ordering table decides
There is another piece that surprises people coming from modern GPUs. The PS1 has no z-buffer, so it cannot decide which pixel of two overlapping polygons is nearer on a per-pixel basis. Instead software builds an ordering table, a list that sorts primitives by depth before the GPU draws them, and the GPU renders back to front. That is cheap and it works for opaque scenes, but it ties correctness to the order the programmer submits. Combined with affine mapping it explains a family of PS1 artifacts: a distant polygon sorted wrong can pop over a near one, and a warping floor can appear to slide under a wall. None of this is the emulator’s fault; it is the original drawing model.
Texture pages, CLUTs and the VRAM budget
Textures live in VRAM as pages, and the PS1 leans on paletted formats rather than full-colour texels. A 4-bit CLUT gives sixteen colours per texel and an 8-bit CLUT gives 256, with the palette stored alongside the page. That halves or quarters the bits per texel compared with a direct-colour format, so more art fits into the small VRAM budget at resolutions around 320×240. Here is the whole chain in one place.
| Stage | What happens | Cost it avoids |
|---|---|---|
| GTE geometry | Transforms and projects vertices in fixed point. | Floating-point hardware. |
| Ordering table | Sorts polygons by depth before drawing. | A per-pixel z-buffer. |
| GPU raster | Interpolates u and v linearly in screen space. | A perspective divide per pixel. |
| VRAM pages | Hold 4-bit and 8-bit paletted CLUT textures. | Full-colour texel storage. |
The trade-off I actually respect
Every stage above saves something: silicon, bandwidth or memory. A per-pixel perspective divide would have cost fill rate on hardware that was already fighting to push textured triangles at 320×240, and paletted pages stretch a small VRAM pool much further than direct colour. The designers bought speed and capacity with a shortcut that is only visible when a surface tilts away from you. I think that was the right call for 1994, even if the swimming floors are the first thing anyone notices now. Knowing the cause changes how I look at those scenes: I read the density of the triangle grid as a developer spending geometry to buy a stable texture. Watch a long corridor next time, count how the floor is split, and you can see the workaround in the level of detail.
Related reading
If you want to keep digging into this corner of the library, these two posts on Roms Get go a little further:
