WebGPU Demo (Rust, in your browser)

Contents

WebGPU Demo (Rust, in your browser)#

The Rust kataglyphis_webgpu_renderer crate (third_party/OxidANT/crates/webgpu_renderer) compiled to WebAssembly on the WebGPU API: the same renderer that runs natively on Vulkan/DX12/Metal. It renders a glTF scene with metallic-roughness PBR, directional shadow mapping (3×3 PCF) and ACES tonemapping from an HDR target.

Requires a WebGPU-capable browser (Chrome/Edge 113+, Firefox 141+).

Open the demo full-page ↗

About#

  • Features shipped: well past the original milestones. The authoritative per-feature status (IBL, skybox, animation/skinning/morph targets, egui overlay, bloom, SSAO, auto-exposure, LOD, GPU occlusion culling, and more) is webgpu-renderer-roadmap.md in the renderer’s own repository, under third_party/OxidANT/crates/webgpu_renderer/docs/.

  • Rebuild the demo: scripts/linux/docs-build-web.sh compiles kataglyphis_webgpu_renderer to wasm32, runs wasm-bindgen and writes the demo (untracked) next to these pages before Sphinx runs. CI’s docs build runs it, so the published demo tracks the current renderer.