> Copy & paste into the ShaderToy website and hit Go. You can click on the
> image to move the sphere around. (It doesn't follow your cursor exactly
> because of the perspective transformation.)
I finally got around to porting my WebGL version (which I had to write
because shadertoy didn't support multiple buffers back then):
https://www.shadertoy.com/view/MsySzd
BufferB is used to store the camera viewing angles and the frame number
that the viewing angles last stopped changing (so the BufferA knows
where to start averaging the frames from).
If it doesn't work on your GPU try reducing the number of SAMPLES (at
the top of BufferA). The end result will be the same, it will just look
a bit worse whilst rotating the camera.
Post a reply to this message
|