Skip to content

Yuu6883/WebGPUDemo

Repository files navigation

WebGPU Demo

WebGPU.Test.-.Google.Chrome.2022-05-26.21-46-53.mp4

Features

  • Deferred rendering
  • Cloth simulation (spring damper, compute shader)
  • Particles (compute shader)

Local Build

This project is built with Typescript and compiled using webpack and swc. Building the project requires an installation of Node.js.

  • Install dependencies: npm install.
  • Compile the project: npm run build.
  • Run the project: npm start which will start an electron.js window

Check out webgpu-samples and the official documentation/draft for basic WebGPU concepts and WGSL syntax.