A real-time, physically based Backrooms renderer in the browser. The first level is Poolrooms: stateful GPU water, photon-traced caustics, diffuse light transport and procedural glazed tile, with no bitmap assets. WebGPU + vanilla JavaScript + Vite, no runtime dependencies.
The plan is multiple levels, endlessly generated maps and online exploration on top of this rendering base. See AGENTS.md for the vision, architecture and roadmap.
npm install
npm run devOpen http://127.0.0.1:4173/ in a desktop browser with WebGPU. WASD or arrow keys to walk, drag to look, Shift to walk fast, V for the overhead view, Tab to pause, M to mute, G for the light transport lab. Sound starts after the first user gesture. There is no WebGL fallback.
npm test
npm run build
npm run benchmarkDocs: physical model and approximations, light transport lab.
Licensed under Apache-2.0.