Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Porting Shadertoy, buffers and 'common'.

General discussion about anything TouchDesigner

Porting Shadertoy, buffers and 'common'.

Postby _0203 » Tue Jul 16, 2019 9:37 pm

Getting familiar w/ porting Shadertoy shaders into TD and doing pretty well for the most part, but I see some of them have a 'common' tab. Can anyone direct me on the proper way to bring this into Touch or point me to somewhere I can learn? Thanks!
_0203
 
Posts: 4
Joined: Thu Oct 05, 2017 7:18 pm

Re: Porting Shadertoy, buffers and 'common'.

Postby malcolm » Tue Jul 16, 2019 11:32 pm

You can use #include statements to point to a DAT that has common code.
User avatar
malcolm
Staff
 
Posts: 4400
Joined: Tue Nov 13, 2007 1:11 am

Re: Porting Shadertoy, buffers and 'common'.

Postby _0203 » Wed Jul 17, 2019 2:14 am

Ahh, yes! Of course. Thanks Malcolm.
_0203
 
Posts: 4
Joined: Thu Oct 05, 2017 7:18 pm


Return to General TouchDesigner Discussion

Who is online

Users browsing this forum: Google [Bot] and 9 guests