Shader Talk - Conversations on GLSL

How do we do that same thing in BJS I am wondering?

I have this setup:
https://playground.babylonjs.com/#UXRQKD#6

Now I just need to pass it the backbuffer.

@Deltakosh, maybe you know a quick and easy way to pass the prior state of the texture back to itself? I tried doing readPixels but ew no… Maybe pass it to a rtt and have that be passed back to the texture so that way I can force its update?

https://www.babylonjs-playground.com/#I30SDL#37 <- this is literally the only time I’ve gotten a ping-pong simulation to work and it was a pain in the *&^%. There has to be a better way. If not then I need to come up with a method that makes this easier.

What am I doing differently here: Babylon.js Playground
That I am not doing in the prior working example?

Maybe its just a timing issue? I have the backframe being generated here if you look in the inspector.
https://playground.babylonjs.com/#UXRQKD#9

But the second I bind it back to the prior texture I get errors:
https://playground.babylonjs.com/#UXRQKD#10

I think I have to force them to update or something.

@Necips
Here is a better example for the question you had though:
http://glslsandbox.com/e#61957.1