https://github.com/elftausend/webgl-compute-demo
WGSL compute shaders on WebGL demo
https://github.com/elftausend/webgl-compute-demo
Last synced: about 2 months ago
JSON representation
WGSL compute shaders on WebGL demo
- Host: GitHub
- URL: https://github.com/elftausend/webgl-compute-demo
- Owner: elftausend
- Created: 2024-05-04T21:39:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-19T21:14:32.000Z (about 1 year ago)
- Last Synced: 2025-02-03T07:45:45.070Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webgl-compute-demo
A minimal demo of WGSL compute shaders that run (in the browser) using WebGL2.
This uses a modified version of [naga](https://github.com/elftausend/wgpu) to translate WGSL to GLSL with compute techniques.Useful resources:
- https://rustwasm.github.io/wasm-bindgen/examples/webgl.html
- https://github.com/sinclairzx81/tesseract
- https://github.com/PixelsCommander/webgpu-vs-webgl-compute-matrix-multiplication/blob/master/webgl_matrix.js