Shader can take time to compile at first (~20s). It can freeze browser during that delay, don't panic 🙂.
/!\ WIP, see TODO below
Use mouse to move camera and keys (WASD/ZQSD + CTRL + SHIFT) to navigate through scene.
Not supported on phones.
Frambebuffer saving method inspired by Fix imperfect handling of pdf for specular
Path tracing -- Naive OK, Iterative TOCHECK --> Light sampling method seems to introduce bias
Emissive triangles -- almost finished
Optical polisehd materials -- WIP --> triangles OK, verify spheres
Scene changing -- WIP --> problem at compile, seems to be related to shader's length
Import/export renders using 0-loss format
Import blender scene
https://wulinjiansheng.github.io/WebGL_PathTracer/. Will probably mimic camera as well which is pretty good.
Structs & intersection methods from https://www.shadertoy.com/view/wlyGWc.