webgpu-pathtracer

✨ A simple pathtracer running in the browser using WebGPU

Stars
7
Committers
1

Features

  • πŸ’‘ Indirect lighting
  • 🫨 Depth of field
  • 🎨 Tone-mapping
  • 🌫️ Denoising
  • πŸ“Έ Camera controls
  • πŸ”Ί Triangle meshes
  • πŸ“¦ Bounding volume hierarchies (BVH)
  • πŸ—ΊοΈ Environment maps
  • πŸͺ™ PBR materials
  • 🀹 Multiple importance sampling (MIS)

Getting Started

Prerequisites

Installation

  1. Clone repo
  2. Run corepack enable to setup Yarn
  3. Run yarn install to install dependencies
  4. Run yarn dev to start the development server

Credits

Heavily based on: