Layered grids of instanced cubes. The CPU uploads integer grid offsets once; every height, material, and cull decision is made in the vertex shader.
Click the scene to play · WASD to move · mouse to look · Space up · C down · Shift to sprint · Esc to pause.