Graphics Programs Reference
In-Depth Information
7. Select the
Mix Shader
node and press
Shift
+
D
to duplicate it. Set
the
Fac
value of this duplicate to
0.300
and then connect the first
Mix
Shader
node output to its first input socket, and set the
Translucent
out-
put to the second input socket. Connect the output of the second
Mix
Shader
node to the
Surface
input of the
Material Output
node.
8. Add a
Noise Texture
node (press
Shift
+
A
and go to
Texture
|
Noise
Texture
) and press
Shift
+
D
to duplicate it.
9. Add a
Texture Coordinate
node (press
Shift
+
A
and go to
Input
|
Tex-
ture Coordinate
) and a
Mapping
node (press
Shift
+
A
and go to
Vector
|
Mapping
). Connect the
Object
output of the
Texture Coordinate
node
to the
Vector
input of the
Mapping
node, then its
Vector
output to both
the
Vector
input sockets of the
Noise Texture
nodes.
10. Add a
Math
node (press
Shift
+
A
and go to
Convertor
|
Math
). Press
Shift
+
D
to duplicate it thrice (so, now you have obtained a total of four
Math
nodes). Connect the first
Noise Texture
node's
Fac
output (the
gray one) to the first
Value
input of the first
Math
node and set the second
Value
to
2.000
. Also, set the operator to
Multiply
.
11. Connect the second
Noise Texture
node's
Fac
output to the first
Value
input of the second
Math
node and let its second
Value
be set to the de-
fault of
0.500
. Again set the operator to
Multiply
.
12. Now connect the outputs of the two
Math
nodes to the input
Value
sock-
ets of the third
Math
node. Let the operator be set to
Add
.
13. Connect the output of the third
Math
node to the first
Value
input of the
fourth
Math
node, set its operator to
Multiply
, and let the second
Value
to the default value of
0.500
.
14. Connect the fourth
Math
node output to the
Displacement
input socket
of the
Material Output
node.
15. Now go to the second
Noise Texture
node and change the
Scale
value
to
15.000
. Let the other values, also for the first texture node, un-
changed (that is, set
Scale
to
5.000
,
Detail
to
2.000
, and
Distortion
to
0.000
).
16. Optionally, in the
Mapping
node set the
Scale
value to
0.500
for all the
three axes, as shown here: