|
![](/i/fill.gif) |
On 10/06/2016 08:24 AM, Orchid Win7 v1 wrote:
> Still trying to work out how you "average over several frames".
> ShaderToy is great fun, but so *utterly* undocumented... it's quite hard
> to figure out how to do anything.
OK, I think I've cracked it:
If you click the "new tab" button, it gives you another shader, that
renders to Buffer A. If you then set iChannel0 to be Buffer A, you can
do a texture2D(iChannel0, coords) to read the previous frame's pixel value.
Now you just need to set the main image shader to be a texture2D()
lookup on Buffer A, and you're golden.
Not what you'd call "obvious"...
Post a reply to this message
|
![](/i/fill.gif) |