I've made a Monte-Carlo raytracer for glTF scenes in WebGPU
SMRTR summary
A GPU-based raytracer using WebGPU API has been developed for rendering glTF scenes. It supports various material types and textures, utilizing Monte-Carlo integration with multiple importance sampling for realistic lighting. The raytracer employs a BVH structure for efficient ray-scene intersections and implements several direction sampling strategies. Key features include environment map support, camera controls, and compatibility with SDL2 and wgpu-native. Future plans involve adding refraction support and implementing wavefront path-tracing.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article