Graphics Programs Reference
In-Depth Information
right and the white color marker one-third to the left. Connect the
Fac
out-
put of the fourth
Musgrave Texture
node to the
Fac
input of this last
Co-
lorRamp
node.
20. Add a
Math
node (
Shift
+
A
and go to
Convertor
|
Math
) and paste it
between the
Mix
node and the last
Math
node (the one set to
Multiply
).
21. Connect the
ColorRamp
node's
Color
output to the second
Value
input
of the just added
Math
node.
How it works...
We are using the vertex color layer set in the
Getting ready
section as a stencil map
to distribute both the colored
Diffuse
and the
Glossy
shaders, driven also by the
Facing
option of the
Layer Weight
input node.
For the rest, the bulk of the effect is in the bump obtained by the
Noise
and
Mus-
grave
textures mixed and clamped in several ways by the
ColorRamp
nodes.
As usual, the last
Math
node set to
Multiply
establishes the strength of the bump.