THREE.JS / WEBGPU CAMERA CONTRACT
Make depth logarithmic.
The WebGPU camera example places markers across several orders of magnitude. This route keeps the renderer option, node-material depth policy, camera far plane, and explicit WebGL2 comparison observable.
InitializingDEPTH LADDER
Creating the native renderer.
- backend
- —
- mode
- —
- camera far
- —
- objects
- —
- renderer flag
- —
- sample avg / p95
- —
- builds
- —
The official 200-object asteroid field, exact page/pixel composition, arbitrary camera/device matrices, compiler/backend coverage, context-loss stress, and whole-example fidelity remain separate boundaries.
Source: official WebGPU logarithmic-depth example · WebGL log-depth comparison. Use ?forceWebGL=1 to select the explicit fallback lane.