This is a work in progress voxel model path tracer built with webGPU. It loads MagicaVoxel .vox models and path traces them.
An example model from this repository. The model uses a lambert diffuse BRDF while the floor uses a Cook-Torrance BRDF with GGX-Smith microfacet distribution/shadowing and VNDF importance sampling. Was rendered with 512 spp in about 5 seconds on a laptop RTX 2060.
An early demo is available here. Please note that it has not been thoroughly tested and it may not properly import all .vox models. It is currently limited to a world size of 512x512x512. Additionally, this demo requires WebGPU; you must use a browser that implements the WebGPU API (chrome) in order to properly run this demo.
AddisonPrairie/WebGPU-.vox
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
