A C++ physically-based path tracer compiled to WASM with Emscripten, running
entirely client-side. Binned-SAH BVH, iterative path integration with
Russian roulette, emissive materials, spheres and quads. The image refines
sample-by-sample in real time — nothing is pre-rendered, and no work leaves your machine.
Pick White furnace test to watch the renderer prove its own energy conservation.
Turn BVH acceleration off and watch the ms / pass figure — that is
the acceleration structure earning its keep, measured live. Both settings render the
bit-for-bit identical image; the test harness asserts that with ==.
SharedArrayBuffer, a
deliberate trade so the demo hosts as plain static files with no COOP/COEP headers.