Yeah this is pretty much self explanatory. This is much better (faster, more stuff) than the older one. Turbowarp is much much faster: https://turbowarp.org/714367239?turbo You may edit the scene on the inside of the project. Some instructions are there. This whole scratch project, not the time spent on Shadertoy, took about 5 hours lol
Credit to Inigo Quilez for the sphere intersection function. NONE of the code in this project was copied from Ray Tracing in One Weekend, it's just that, well, they're both path tracers, so they produce similar looking images. This was originally made by myself on Shadertoy: https://www.shadertoy.com/view/7dScW1 #ray #path #madness #pathtracer #sphere