Graphics Programs Reference
In-Depth Information
5. Add a
Diffuse BSDF
node (press
Shift
+
A
and go to
Shader
|
Diffuse
BSDF
), a
Glossy BSDF
node (press
Shift
+
A
and go to
Shader
|
Glossy
BSDF
), and a
Translucent BSDF
node (press
Shift
+
A
and go to
Shader
|
Translucent BSDF
).
6. Add two new
Mix Shader
nodes (press
Shift
+
A
and go to
Shader
|
Mix
Shader
) and rename them as
Mix Shader1
and
Mix Shader2
.
7. Connect the output of the
Diffuse
shader to the first
Shader
input socket
of the
Mix Shader1
node and the output of the
Glossy
shader to the
second one. Set the
Glossy
shader's
Color
value to
R 0.794
,
G 0.800
,
B
0.413
and the
Roughness
value to
0.500
.
8. Connect the output of the
Mix Shader1
node to the first
Shader
input
socket of the
Mix Shader2
node and the output of the
Translucent
node
to the second one. Connect the output of the
Mix Shader2
node to the
second
Shader
input socket of the
Mix Shader Add Translucency
node.
9. Connect the output of the
Diffuse
shader node to the first
Shader
input
socket of the
Mix Shader Add Translucency
node. Set its
Fac
value to
0.300
(this value establishes the amount of translucency in the shader).
10. Add an
Image Texture
node (press
Shift
+
A
and go to
Texture
|
Image Texture
), rename it as
TRANSLUCENCY
, and connect its
Color
output to the
Fac
input socket of the
Mix Shader2
node. Click on the
Open
button, browse to the
textures
folder, and load the
leaf_generic_trans.png
image. Set the
Color Space
to
Non-Color
Data
.
11. Add a
Fresnel
node (press
Shift
+
A
and go to
Input
|
Fresnel
), connect
it to the
Fac
input socket of the
Mix Shader1
node and set the
IOR
value
to
1.500
.
12. Add an
Image Texture
node (press
Shift
+
A
and go to
Texture
|
Image
Texture
), rename it as
COLOR
, and connect its
Color
output to the
Col-
or
input socket of the
Diffuse
shader node and to the
Color
input socket
of the
Translucent
node. Click on the
Open
button, browse to the
tex-
tures
folder, and load the
leaf_generic_col.png
image.
13. Add a
Hue Saturation Value
node (press
Shift
+
A
and go to
Color
|
Hue Saturation Value
) and paste it between the
COLOR
node and the
Translucent
shader node. Set the
Hue
value to
0.350
and the
Value
to
2.000
.
14. Add a last
Image Texture
node (press
Shift
+
A
and go to
Texture
|
Image Texture
) and rename it as
BUMP
. Add a
Bump
node (press
Shift
+
A
and go to
Vector
|
Bump
) and connect the
Image Texture
node's
Co-