Page 1 of 1

Make and import libraries in GLSL?

PostPosted: Fri May 17, 2019 10:14 pm
by hmbemba
Hey all,

Just wondering if there is a way to make my own glsl libraries and import them when I'm making projects? - Similar to how python has an import statement?

I'm pretty sure the GLSL API doesn't come with this function natively - just wondering if anyone has found a work around in TD?

Thanks!

Re: Make and import libraries in GLSL?

PostPosted: Mon May 20, 2019 10:51 pm
by malcolm
#include statements are supported in GLSL via an extension, so you can use those. They use either relative or absolute paths to other nodes in the network.

Re: Make and import libraries in GLSL?

PostPosted: Mon Jun 03, 2019 7:24 pm
by hmbemba
Great thanks!