An open API service indexing awesome lists of open source software.

https://github.com/yuu6883/webgpudemo

WebGPU demo for deferred rendering, cloth simulation, and particle effects
https://github.com/yuu6883/webgpudemo

cloth-simulation deferred-rendering particles webgpu

Last synced: 5 months ago
JSON representation

WebGPU demo for deferred rendering, cloth simulation, and particle effects

Awesome Lists containing this project

README

          

# WebGPU [Demo](https://yuu6883.github.io/WebGPUDemo/)

https://user-images.githubusercontent.com/38842891/170631244-2958a061-4219-4a2f-945c-0dbb4b614d6f.mp4

## Features
* Deferred rendering
* Cloth simulation (spring damper, compute shader)
* Particles (compute shader)

## Local Build
This project is built with [Typescript](https://www.typescriptlang.org/)
and compiled using [webpack](https://webpack.js.org/) and [swc](https://swc.rs/). Building the project
requires an installation of [Node.js](https://nodejs.org/en/).

- 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](https://github.com/austinEng/webgpu-samples) and the official [documentation/draft](https://gpuweb.github.io/gpuweb/) for basic WebGPU concepts and WGSL syntax.**