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.

Docs: three measured limits of the live view, and what the light tree's candidates cost (#292)

Yujia493d4b403159
diff --git a/docs/RUNTIME.md b/docs/RUNTIME.md
index 7bfb947..2819510 100644
--- a/docs/RUNTIME.md
+++ b/docs/RUNTIME.md
@@ -1828,6 +1828,16 @@ none of them it traces its light there. Two limits are known and held by tests s
sunlit mirror wall 5 % bright), and a surface seen in a reflection takes the sky's light from it, unshadowed
below a voxel's size.
+Three more, measured on whole scenes against the offline render in linear radiance (2026-11-27), held by no test:
+
+- A path's end reflects the cache's irradiance as light from the whole hemisphere. Where a low sun on a polished
+ floor throws its beam at a wall, a daylight interior's bounced light reads 0.80 to 0.89 (the picture 3 % dark).
+ Ending the path a bounce later brings the picture to 0.98, for 13 to 24 % of a frame.
+- A live path has 4 bounces at most, whatever a scene's preset asks. A jeweller's window that asks for 8 reads
+ 3.8 % dark: 2.2 for the bounces, 1.0 for the live indirect clamp, 0.7 for the cache.
+- The upscaler's history of a sky seen directly lags a sky that changes fast: in a time-lapse that dims it 1 % a
+ frame the picture reads 4 % bright, and comes down in 64 to 128 frames once the clock is held.
+
## Live rendering settings
The native `play` and `live` commands, `serve` live jobs and the browser take four settings, one for each gap
diff --git a/renderer/src/ltree.rs b/renderer/src/ltree.rs
index 062cb85..66350fc 100644
--- a/renderer/src/ltree.rs
+++ b/renderer/src/ltree.rs
@@ -39,7 +39,9 @@ pub const LEAF_MAX: usize = 1;
/// (bright outliers lose weight), so less noise is more light. Bistro ΔE 4.05 -> 3.89, luminance 0.893 -> 0.909;
/// Zero Day ΔE 3.85 -> 3.77. 4 -> 8 (2026-11-09), once the candidates were resampled by the BSDF (glossy surfaces
/// choose among more of the small lights in their lobe): the crowd's ΔE at 10 s 10.61 -> 10.31, layer B Bistro 3.34
-/// -> 3.23, bench-ghosting better on every check; no measurable cost (perf smoke drive GPU p50 -0.02 ms).
+/// -> 3.23, bench-ghosting better on every check; no cost on the perf smoke drive (GPU p50 -0.02 ms). Measured again
+/// on heavy clips (2026-11-27): 8 against 4 is 6 to 7 % of a frame on three of them (2 candidates 8 to 11 %, 1: 10
+/// to 15 %); kept for the crowd, whose flicker is 15 % more with 4.
pub const RIS_OFFLINE: u32 = 6;
pub const RIS_LIVE: u32 = 8;