From the course: Learning TouchDesigner

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Shader assignments

Shader assignments - TouchDesigner Tutorial

From the course: Learning TouchDesigner

Start my 1-month free trial

Shader assignments

- [Lecturer] So we've looked at how to build all of our shaders for our different objects. I'm making procedural file paths for our filing nodes. And let me go into this shader's object here and you can see that we've now created, basically just by copying and pasting and renaming these different objects, we've created containers for each of the 10 elements of our scene. And, then, each of these has the various shaders in it that are all accessed via our little strings. So really straightforward and really much more fun way of bringing in all these files than having to manually deal with that. So, now, we need to do the shader assignments. And we're going to use a different simple script, using the same variable just to do the shader assignments, cuz we don't want to have to do all of those manually. And it'd be great to be able to build something that was adaptable, so if we had more elements or less elements, we could just keep copying and pasting things and have everything…

Contents