Graphics Programs Reference
In-Depth Information
6. Connect the
Object
output of the
Texture Coordinate
node to the
Vector
input of the
Mapping
node and the output of this one to the input of the
Noise Texture
node.
7. Set the
Noise Texture
scale to
50.000
. Add an
RGB to BW
node (press
Shift
+
A
and go to
Convertor
|
RGB to BW
) and a
Math
node (press
Shift
+
A
and go to
Convertor
|
Math
); connect the
Noise Texture
node's
Color
output to
RGB to BW
and the
RGB to BW
node's
Val
output to the
first
Value
input of the
Math
node.
8. Set the
Math
node operation to
Multiply
and the second
Value
to
0.100
;
connect its
Value
output to the
Displacement
input socket of the
Materi-
al Output
node.
How it works...
This is one of the simplest materials you can build in Cycles; it consists of a colored
Diffuse
component mixed at 50% with a white
Glossy
shader. A tiny
Noise Texture
,
connected directly to the
Displacement
input of the
Material Output
node, adds a
slight dotted bump effect to the whole material; this effect actually is optional, the
shader is already very plastic-looking without the bump.