WebGPU based Path Tracer using OpenPBR
npm install strahlMain library package provided as NPM package.
For documentation on strahl, please refer to the Github repository.
This file provides information about how to work on the strahl library itself, and not how to use it.
npm run dev
In order to expose in local network, run:
npm run dev -- --host
The project uses vitest for unit testing.
npm run test
The project uses eslint for static code analysis.
npm run lint
- https://localhost:5173/ - Demo Scene
- https://localhost:5173/benchmark.html - Benchmark Setup
There are magic comments, using the form of: CODE#ABC. These comments are references from the master thesis to the implementation.
1. git stash --include-untracked
1. npm run build
1. npm version prerelease --preid=alpha
1. npm publish --dry-run
1. npm publish
For working with wgsl, it is recommended to use Visual Studio Code with WGSL Literal extension.