Click the image above to see the live demo!
- 💡 Indirect lighting
- 🫨 Depth of field
- 🎨 Tone-mapping
- 🌫️ Denoising
- 📸 Camera controls
- 🔺 Triangle meshes
- 📦 Bounding volume hierarchies (BVH)
- 🗺️ Environment maps
- 🪙 PBR materials
- 🤹 Multiple importance sampling (MIS)
- Node.js (v18 or higher)
- Clone repo
- Run
corepack enable
to setup Yarn - Run
yarn install
to install dependencies - Run
yarn dev
to start the development server
Heavily based on:
- https://github.com/visionary-3d/raytracing-bloom-video/
- https://www.youtube.com/watch?v=Qz0KTGYJtUk
- https://webgpu.github.io/webgpu-samples
- https://webgpufundamentals.org/
- https://github.com/gkjohnson/three-gpu-pathtracer
- https://github.com/dmnsgn/glsl-tone-map