Slate Rendering Engine
A realtime hybrid path tracer written in Rust and WebGPU, shipped as the engine behind Avataar.ai's client e-commerce work.
Media
Project Overview
Slate is the in-house realtime hybrid path tracing engine at Avataar.ai, built in Rust and WebGPU for web and native platforms. I work on it with three other graphics engineers at Avataar.ai.
My Contribution
Wavefront rendering: Implemented the wavefront rendering system based on "Megakernels Considered Harmful" (Laine et al., 2013), splitting the work into separate kernel stages to cut GPU thread divergence.
Data-oriented scene graph: Built the data-oriented scene graph that keeps cache locality high and memory access latency low during scene traversal and animation.
Text and compute skinning: Implemented MSDF text rendering with complex multi-language text shaping for high-quality typography in 3D scenes, and GPU-accelerated compute skinning.
Engine systems: Added Puffin profiler performance tracking and extended the glTF 2.0 loader with KHR extensions for advanced material properties.
SYS_SPECS
- Language:
- Rust, Wgsl
- Technology:
- WebGPU, EGui
- Platforms:
- Wasm, Linux, Macos, Windows