Hi Naus3a, thanks for the quick response!
I should have been more clear with what sort of feedback I am looking for. I believe the image you posted below is a type of feedback similar to the droste effect (http://en.wikipedia.org/wiki/Droste-effect).
I’m actually looking to make something more akin to this video http://www.youtube.com/watch?v=J1AE756DwUM.
I followed the trail back to this page, which goes into some detail about the actual shader being used http://erleuchtet.org/2011/06/white-one.html. I’d like to use video input rather than random noise.
I’m less interested in what the shader is doing (seems like the white one steps are outlined pretty well) than how to set up the feedback system itself. I think I understand the underlying concept of feeding your output back into your input, but actually setting this up has been confusing me. It seems like you have to initially kick it off with a current frame and a previous frame, but then at some point hand off the textures to the feedback loop, so that each new frame is using the previous frame as input, and blending the two together. I’m also a little unsure of this process, because the only way I’ve been able to think of doing it involves writing to and reading from the texture at the same time. I’ve read about pingponging two fbo’s and I tried getting something like that going but never got the result I wanted.
How do you prevent your fbo’s from clearing each frame? I tried using
and that seemed to be a start in the right direction.
This has obviously been done before, and I feel like it just involves getting all the different pieces to read/write in the correct order.