https://github.com/bezo97/webgpu-pt
pathtracer in webgpu
https://github.com/bezo97/webgpu-pt
Last synced: about 1 month ago
JSON representation
pathtracer in webgpu
- Host: GitHub
- URL: https://github.com/bezo97/webgpu-pt
- Owner: bezo97
- License: gpl-3.0
- Created: 2024-05-13T18:42:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2026-03-09T19:36:42.000Z (5 months ago)
- Last Synced: 2026-03-10T00:59:17.129Z (5 months ago)
- Language: JavaScript
- Homepage: https://pt.z97.io/
- Size: 147 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# webgpu-pt
[Demo](https://pt.z97.io/)
A ~~weekend~~ project to learn webgpu and rewrite my old path tracer.
Features:
- 0-dependency, no build step. Just plain html/js/css and wgsl
- Distance estimated fractal rendering
- Multiple Importance Sampling
- Optional tweakpane gui
Requirements:
- WebGPU capable setup - recommended Windows + Chrome + dedicated GPU
- [CanIUse - WebGPU](https://caniuse.com/?search=webgpu)
Development:
- Set the language mode of the `.wgsl.js` files to `WGSL` in your editor
- Serve the src folder using your favorite devserver, such as VSCode Live Server