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.

509 B
Raw Blame
// volume/box-transmittance in the real-time renderer: camera rays through media are marched (pathtrace.wgsl media_march),
// in-scattering lit by the radiance cache's volume voxels. Same analytic value.
import def, { test as base } from "./volume-box-transmittance.ts";
import type { TestMeta } from "./lib.ts";

export const test: TestMeta = { ...base, id: "volume/box-transmittance-live", temporal: true, live: 240, metric: { ...base.metric, tolerance: 0.02 } as TestMeta["metric"] };

export default def;