WebGL implementation of the ray tracer described in Peter Shirley's raytracing in one weekend book.
The code of the ray tracer is found in frag.glsl. vert.glsl creates a full screen triangle and fullscreenTri.js does the initial WebGL setup.
A simple webgl raytracer
WebGL implementation of the ray tracer described in Peter Shirley's raytracing in one weekend book.
The code of the ray tracer is found in frag.glsl. vert.glsl creates a full screen triangle and fullscreenTri.js does the initial WebGL setup.
A simple webgl raytracer
MIT License