Open-Source WebGPU Ray Tracer: Real-time Rendering from glTF Scenes
The open-source project webgpu-raytracer is a software ray tracing engine built using the WebGPU API. It supports glTF scene files and renders materials with albedo, normal, and material maps. The engine utilizes BVH for accelerated ray-scene intersections and employs multiple importance sampling for efficiency. Currently, it supports environment maps and allows camera control via keyboard and mouse, but refraction is not yet supported.
Read more