denoiser · raw WebGPU

A single-file WGSL path tracer — plain WebGPU, no three.js, no libraries — sharing one GPUDevice with the denoiser. The scene accumulates noisy samples into a linear-HDR texture; flip Live denoise to hand that texture straight to denoiser.denoiseTextures() every N samples. This page is the reference for integrating the denoiser with a custom engine.

View

off = raw accumulation · on = denoised output

Denoise every
Aux inputs

first-hit G-buffer from the same kernel

0 spp
raw