lua.wetgenes.gamecake.framebuffers.fbo.pingpong
fbo:pingpong(fbout,shadername,callback)
framebuffers.pingpong({fbin1,fbin2},fbout,shadername,callback)
Render from one or more fbos into another using a fullscreen shader.
Sometime you need to repeatedly copy a texture back and though applying a shader, this is the function for you.
The textures will be bound to tex1,tex2,tex3,etc and the uvs supplied in a_texcoord with a_vertex being set to screen coords so can be used as is.