← index

The Depth Buffer

How a GPU knows what's in front: alongside the colour it keeps one depth per pixel — the nearest thing drawn there so far — and only repaints when something closer arrives. Three overlapping cards, with a slider that moves one through the others.