WebGPU Demo
WebGPU.Test.-.Google.Chrome.2022-05-26.21-46-53.mp4
- Deferred rendering
- Cloth simulation (spring damper, compute shader)
- Particles (compute shader)
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 startwhich will start an electron.js window
Check out webgpu-samples and the official documentation/draft for basic WebGPU concepts and WGSL syntax.