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.

Building modular shaders

Building modular shaders - TouchDesigner Tutorial

From the course: Learning TouchDesigner

Start my 1-month free trial

Building modular shaders

- [Instructor] The next step of the process here is going to be to build our shaders for our various geometry components that make up our scene, and this is also going to enable us to look at ways to do even more procedural things within Touch Designer so we don't have to import all the texture maps manually and build all the shaders manually. We're going to do some scripting to allow us to import the files based on the names of nodes and the containers that those nodes are in. So we're going to go under our shaders container here. We're going to go into our engine container that we had made. Let's took a look at what we have here. Before, we had taken all of our texture maps and we had just either found them manually on disk or typed in their names, and what we want to do is we want to change how this works. So there's an actual script that builds the string so we can just rename nodes and rename containers and then all the texture maps will automatically come in. Because on disk…

Contents