Graphics Programs Reference
In-Depth Information
27. Set the
Noise Texture
node
Scale
to
16.000
,
Detail
to
2.500
, and
Dis-
tortion
to
0.000
; connect the
Object
output of the
Mapping
node to the
Vector
input of the
Noise Texture
node.
28. Add a
Hue Saturation Value
node (Press
Shift
+
A
and go to
Color
|
Hue Saturation Value
) and move it to the right of the
Multiply
node; con-
nect the
Multiply
output to the
Color
input socket of the
Hue Saturation
Value
node, then set the
Hue
value to
0.465
and the
Saturation
value
to
1.050
.
29. Press
Shift
+
D
to duplicate the
Multiply
node and move it close to the
Noise Texture
node; set the
Blend Type
to
Overlay
and the
Fac
value to
0.250
. Connect the
Fac
output of the
Noise Texture
to the
Color1
input
socket and change the value of
Color2
to pure white. Connect the
Over-
lay
node output to the
Value
input socket of the
Hue Saturation Value
node.
30. Add a frame (Press
Shift
+
A
and go to
Layout
|
Frame
), select these last
nodes and then the frame and press
Ctrl
+
P
to parent them. Rename the
frame
RUST_COLOR
.
31. Connect the output of the
Multiply
node inside the
RUST_COLOR
frame
to the
Color
input socket of the
Diffuse
shader inside the
SHADERS
frame, then connect the
Fac
output of the
Noise Texture
node inside the
STENCIL
frame to the
Color
input of the
RGB Curves
node inside the
RUST_COLOR
frame.
How it works...
From step 1 to step 6 we built the basic shaders arrangement; from step 7 to step 11
we made the
STENCIL
to separate the rust material from the polished metal.