The shaders we have seen so far are quite simple and easily readable in the Node Editor window, but for several materials we'll see in this Cookbook, the node connections will be a lot more complex and confusing. One more aid we can use to improve the readability of these nodes are the frames. We can use them to visually organize the shaders' network.
Let's see the use of a frame with a simple shader that we already know:
Adding a Frame to the network inside the Node Editor window
Resizing the Frame to comprise all the nodes
Now that the nodes are parented to the frame, we can select and move it, and all the contained nodes will follow it as a single object.
It's still possible to select the single nodes inside the frames and arrange their individual position and connections. To add a new node to the network, we will do as usual (press Shift + A | …) and then parent it to the frame as well.
BasicShader
), and also assign a color.20
by default, and by unchecking the Shrink item, we can freely resize the frame bigger, which otherwise encloses the nodes with a fixed boundary (the default setting), which is shown in the following screenshot for your reference:The Frame with label and color