This page is created automatically. Click here to view this shader on Shadertoy.

Simple raytracer showing a lot of spheres and lightsources. A grid is used as an acceleration structure.

Source code

You can find (the full source of) A lot of spheres on Shadertoy.