compositing with GLSL

HEllo!
I was wondering if there is a way I could take a 2d glsl like this one.
glslsandbox.com/e#53640.0
I want this electrical bolt to stand in middle of some instances.

I want to fake it pretty much by putting some blue light at center of my tornado

My question; how can I use a render pass so this 2d bolt gets hidden when some instances pass in front o behind it (the bolt stays in 2d position and instance swirling around)

Is that even possible? thx

I did see this technique in many Revision shader competitions. even in Latest Doom game.
they seem to set 2d shader(electric bolt) to always face the camera.
I tried the shader as a texture for a rectangle and set alphas to see through anything that is not the bolt, it doesn’t work that way.
I’m looking for techniques to blend touch designer work with the GLSL part.

If we could figure out how to do that it would really help creative side.

Ok you think all of this should be done in GLSL i guess but then since we cannot plug TD geometry though a shader imported from shader toy then its a dead end?

great thx for help.

this is more what we want to learn, I mean how to blend glsl stuff with touch designer is key.

Otherwise if all needs to be done in GLSL then drop touch designer all together!
that would also mean all we have learnt so far is no use anymore.

is the way forward pure GLSL?