Proof of concept path tracer implemented entirely in WebGL fragment shaders using AABBs, supporting triangles, spheres, refreactions.
Samples: #
WARNING: This demo causes some issues on Windows Browsers where WebGL is implemented in Angle with DirectX calls.
To fix this on:
Chrome - Navigate to chrome://flags/#use-angle and choose "OpenGL" from the drop-down menu. Then click "Relaunch".
Firefox - Navigate to about:config enter "webgl.disable-angle" and choose "true".
Edge - Navigate to edge://flags/#use-angle and choose "OpenGL" from the drop-down menu. Then click "Restart".