MuTracer

Physically based path tracer for the web on WebGPU, with a WebGL 2 fallback

Progressive path tracing with next-event estimation and multiple importance sampling over OpenPBR 1.1 materials, a two-level BVH built with binned SAH in parallel workers, Sobol or blue-noise sampling and Open Image Denoise, plus incremental Three.js scene sync and an online viewer.

  • 0.28 sBVH build, 4.6M tris
  • 12.1 s1080p 64 spp, 4.6M tris

Trade-offs

  • WebGPU first, with the same code rendering on WebGL 2 where WebGPU is missing. Caustics by light tracing and photon mapping are WebGPU only.
  • A two-level BVH: moving an instance refits only the top level, so scenes stay interactive with millions of triangles.
  • A 0.x library, so its API may change between minor releases.

Q&A2

A 4.6-million-triangle model builds its BVH in 0.28 s with the TinyBVH WebAssembly builder on 4 workers, and renders 1920×1080 at 64 samples per pixel in 12.1 s, on an M4 Max in Chrome with WebGPU.

Reviews

Loading reviews

    More in Graphics

    See all 13 →
    • Procedural TerrainsGPU-driven terrain studio for the browser: boards, endless worlds, planets
    • WhimTexA sprite and texture editor inside Unity, with layers that stay editable
    • TequilaProduct renderer for CAD models with the final image live in the viewport
    • SculptForgeOpen-source digital sculpting app for Linux, macOS and Windows
    • NerthusA node-based terrain generator in Rust that opens and saves Gaea 2 projects
    • Estella2D and 3D game engine with a TypeScript SDK and C++ core

    More in WebGPU

    See all 12 →
    • OpenSubsSubtitle generator that transcribes and burns captions with no video upload
    • MPEEOffline routing and vehicle-routing optimization in one Rust engine
    • FramegenBrowser extension that interpolates 24 fps video up to 240 fps on the GPU
    • demucs-rsHTDemucs music source separation in Rust: CLI, browser app and DAW plugin
    • HarfiyenTurkish speech to text and styled video captions, processed in the browser
    • MasterSelectsBrowser video editor on WebGPU and WebCodecs, with node-graph effects

    More in Three.js

    See all 7 →
    • ProcInShWeb-based Linux process inspector with a 3D process space
    • NeonPlan 3D3D floor plan for Home Assistant, drawn in its own editor and live with devices
    • LibreCorsaOpen-source racing simulator with 500 Hz physics that runs in the browser
    • Prehistoric Animal MuseumBilingual 3D museum of prehistoric animals for young children
    • xiaokeaiLocal-first 3D AI companion and desktop pet
    • DockScopeDocker stack as a live 3D dependency graph