Skip to content

maierfelix/WebGPU-Path-Tracer

Repository files navigation

WebGPU Path Tracer

Using node-webgpu and dawn-ray-tracing

Running demo

  • Clone this repository
  • Download the assets and extract them into the project's root directory
  • Install dependencies with npm install
  • Run the path tracer with npm run start

Controls

  • Mouse (Left-Click): Look around

  • Mouse (Right-Click): Pick object

  • WASD: Move around

  • Space: Move upwards

  • C: Move downwards

Screenshots

The following scenes were rendered in just a few seconds on a RTX 2070