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.
Rust electron-alternativegame-engineglobal-illuminationgraphicsjavascript-runtimemetalpath-tracingray-tracingreal-time-renderingrenderingrustthreejstypescriptvoxelvulkanwebgpuwgpu
docs: clarify WebGPU rasterization and platform support (#289)
Evan (Yifeng) Wangea25d2f08b94
diff --git a/docs/RENDERING-METHODS.md b/docs/RENDERING-METHODS.mdindex 41bac6a..f54d9cb 100644--- a/docs/RENDERING-METHODS.md+++ b/docs/RENDERING-METHODS.md@@ -10,7 +10,7 @@ThreeRT is one engine and one runtime with **two renderers**, chosen per project and per build:-| | **`path`** (Path Tracer) | **`webgpu`** (WebGPU — macOS & Linux) |+| | **`path`** (Path Tracer) | **`webgpu`** (WebGPU rasterization on macOS and Linux) ||---|---|---|| What draws | ThreeRT's wgpu compute path tracer: hardware ray queries, OIDN, DLSS / MetalFX, the physical sky and post chain | three.js r187's own `WebGPURenderer`, running natively: `navigator.gpu` implemented over wgpu inside the engine's JavaScript guest || Scene code | `@threert/scene` (physical units) | plain `three.js` + TSL node materials |@@ -93,9 +93,8 @@ The JavaScriptCore guest and native text path live in PocketJS (`pocket-guest-js## Open questions-- **The guest on Windows and Linux.** three.js's `WebGPURenderer` does per-frame work in JavaScript;- QuickJS runs it several times slower than a JIT. Windows and Linux need a JIT engine (V8 or- JavaScriptCore from WebKitGTK) before `webgpu` ships there.+- **The guest on Windows.** Linux uses JavaScriptCore from WebKitGTK. The Windows port still needs+ a JIT-capable guest for the JavaScript work that three.js's `WebGPURenderer` does each frame.- **TSL coverage.** `webgpu` runs three.js `WebGPURenderer` as written; materials that rely on`onBeforeCompile` or GLSL `ShaderMaterial` need TSL equivalents (Pocket Island's port is the workedexample).