Started working on an interactive WebGL-based pathtracer this past week!
It's integrated with Three.js for scene management, debug rendering, and interactive controls.
#threejs #webgl #raytracing #pathtracing
Oct 7, 2025 · 10:46 PM UTC
1
3
91
Repo: github.com/sbobyn/three-path…
Live Demo: sbobyn.github.io/three-patht…
1
1
52
So far, the implementation follows book 1 of @Peter_shirley 's raytracing series
Next I'm planning on adding
- textures, quads, and area lights, skybox lighting
then
- triangles + mesh loading
- fragment shader → compute shader
- scene uniforms → data textures
- bvh
7
