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

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

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