Skip to content

The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.

747 B
Raw Blame
// shadow/cutout-emitter in the real-time renderer as it ships: the offline value. The panel's shadow rays ask the
// card's map (renderer/src/cutout.rs: every cell of it a hole) and pass, and its samples keep the whole of its light
// there, because the rays the plane sends on take the card as solid (`APPROX.cutoutPaths`) and bring none of it
// (pathtrace.wgsl `light_mis`). Until 2026-12-02 the card was solid to those shadow rays too and the plane read
// 0.0004.
import def, { test as base } from "./shadow-cutout-emitter.ts";
import type { TestMeta } from "./lib.ts";

export const test: TestMeta = { ...base, id: "shadow/cutout-emitter-live", metric: { ...base.metric, tolerance: 0.03 }, temporal: true, live: 120 };

export default def;