Scene
<Scene> exposes a subset of the scene state. Particle appearance is not
here — it belongs to <Grid>.
World transform
Section titled “World transform”| Prop | Type | Notes |
|---|---|---|
translateX translateY translateZ | number | World offset |
rotationX rotationY rotationZ | number | World rotation |
Raymarch budget
Section titled “Raymarch budget”| Prop | Type | Notes |
|---|---|---|
maxSteps | number | Iteration cap. Raise for non-metric modifiers. |
sdfEpsilon | number | Surface-hit threshold. Smaller is finer and slower. |
lodScaling | number | Scales step budget with distance |
stepRelaxation | number | Step length vs overshoot risk |
edgeSoftness | number | Silhouette softness |
autoCull | boolean | Skip shapes that cannot contribute |
| Prop | Type | Default | Notes |
|---|---|---|---|
enableReflection | boolean | false | Draws non-glass shapes into a pre-pass so glass can mirror them |
enableRefraction | boolean | false | Composites that texture into the refracted background |
prepassScale | number | 1 | Pre-pass resolution as a multiple of the canvas, clamped 0.25–4. Above 1, more detail through and in glass; the pre-pass draws scale² the pixels |
bicubic | boolean | false | Reads the glass backdrop through a cubic filter: four texture reads per read, smoother magnification |
The two flags share one pre-pass. None of the four does anything without a glass material. See Glass.
Diagnostics and frame
Section titled “Diagnostics and frame”| Prop | Type | Notes |
|---|---|---|
stats | boolean | Mounts the overlay — lazily imported |
debugMode | boolean | Heatmap visualisation |
showAxes | boolean | Origin axes — lazily imported |
fps | number | Frame-rate cap |
A literal false on stats, showAxes or the glass flags removes the feature
from the build entirely. Any other value keeps it.
stats reads GPU frame time through timestamp-query, which recent iOS Safari
exposes — the overlay shows real numbers on iPhone. The feature detect
adapter.features.has('timestamp-query') is authoritative: when it is false
the GPU row shows n/a. Do not infer support from the browser or OS.