pissang/oidn-webgpu
Open Image Denoise on WebGPU
What it solves
This project brings Open Image Denoise (OIDN) to the WebGPU ecosystem. It allows developers to remove noise from path-traced images directly within a web browser or through native applications, significantly improving visual quality without requiring a heavy backend.
How it works
It uses a shared TypeScript core to execute WGSL (WebGPU Shading Language) kernels across different environments. Developers load specific weight files (in .tza format) that correspond to their rendering needs—such as HDR or LDR inputs—and the library processes the image data to produce a clean, denoised result. It supports tiling for memory efficiency and can integrate with existing GPU buffers.
Who it’s for
It is designed for graphics engineers and web developers building 3D renderers, path-tracing applications, or creative tools (like Figma plugins) who need high-quality image denoising that runs on the user's GPU.
Highlights
- Runs in the browser via WebGPU and natively via wgpu (Metal, Vulkan, DX12).
- Supports both HDR and LDR image inputs.
- Flexible configuration for auxiliary inputs like albedo and normals to improve denoising quality.
- Unified architecture where the same kernels and logic apply to all supported runtimes.
- Compatible with standard OIDN weight files.
Related
- Project
- Project
- Project
- Project