Ratatoskr/harness
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nibu 50b5155b0e scene: voxel terrain drawn as painter's-order instanced strips
The fullscreen fragment march is replaced by one instance per screen column and depth step, drawn far to near with no depth test. The vertex shader fetches the strip's height and its nearer neighbour's from the RG8 ring (vertex texture fetch, WebGL2 core) and emits a quad from the projected top down to the nearer top, or the screen bottom for the first strip; the fragment is a flat colour by height, slope and fog. Strips nearer than any terrain could reach the screen are not drawn, and strips past a column's far plane are clipped.

The drawing buffer is a fixed pixel budget in the canvas's aspect, 320x180 by default, with the ladder below it. The ring, its generation pass, the baked sky, the createScene contract and the flag are unchanged; the sky is now a small backdrop pass. FrameStats gains vertices and ring lookups per frame; the measuring pass counts fragments per pixel (overdraw) instead of march lookups. Harness: drive.cjs voxel takes SIZES, a voxelshots mode takes screenshots.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 05:38:51 +00:00
..
estate estate harness: read a row's tier from a fresh visit without toggling tiers closed; catch the retryable message before sync replaces the row 2026-11-01 01:52:45 +01:00
scene scene: voxel terrain drawn as painter's-order instanced strips 2026-11-05 05:38:51 +00:00