Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

compositing with GLSL

General discussion about anything TouchDesigner

compositing with GLSL

Postby greenpattern » Thu May 30, 2019 11:23 am

HEllo!
I was wondering if there is a way I could take a 2d glsl like this one.
http://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
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french

Re: compositing with GLSL

Postby greenpattern » Fri May 31, 2019 10:03 am

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?
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french

Re: compositing with GLSL

Postby greenpattern » Mon Jun 03, 2019 10:40 am

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?
User avatar
greenpattern
 
Posts: 228
Joined: Tue Dec 01, 2015 3:05 pm
Location: Edinburgh Scotland, but I'm french


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: No registered users and 15 guests