Tons Of Spheres (Composition by gtoledo3)
This composition is based around a shader that creates many spheres, with lighting, using only the fragment shader. It's based on functions found at: http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
...and also heavily informed by many of the examples at glsl sandbox, and probably tons of other related demoscene type shaders I've seen.
I wanted to take a distance function, create a shape with that function, and then create a grid in x/y/z with it, ala many traditional graphics examples. So, this shows how to create an object in the fragment shader, repeat it many times, and light it in a basic way.
More like this