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.

729 B
Raw Blame
// upscale/lamps-still-live at half the render scale, where the output is composed from guides of its own (live.wgsl
// `gcompose`, `gupscale`): a lamp is a third of an output pixel wide, a guide in nine sees it, and the field keeps
// its light.
import type { TestMeta } from "./lib.ts";

export { default } from "./upscale-lamps-still-live.ts";

export const test: TestMeta = {
  id: "compose/lamps-still-live", features: ["dynamic-emission", "upscaler", "procedural"], reference: "analytic", temporal: true,
  metric: { kind: "radiance", region: [0.3, 0.3, 0.7, 0.7], expected: 0.1, tolerance: 0.1 },
  scale: 0.5,
  live: 60,
  note: "lamps a third of a pixel wide, 1.44 % of the field at 6.94 nits, the view still: 0.1",
};