In this recipe we will create a rusty shader to be mixed by a stencil factor with a metallic shader:
Now we are going to create the shader:
From 1301OS_04_metal.blend | NodeTree, append the node group Metal.
Click on New in the Material window under the Properties panel or in the Node Editor header. Rename the material
Rusty_Metal
.Switch the Diffuse shader with a Mix Shader node and in the first Shader slot select a Diffuse BSDF shader. In the second Shader slot load, under Group, the appended Metal node group.
Add a frame (press Shift + A and go to Layout | Frame), select the Diffuse shader, the Metal group and the Mix Shader node frame and press Ctrl + P to parent them. Rename the frame
SHADERS
.Add a Texture Coordinate node (press Shift + A and go to Input | Texture Coordinate) and connect the Object output to the Tangent input of the Metal group.
In the Metal group...