Graphics Programs Reference
In-Depth Information
Creating
a
wood
material
with
procedurals
In this recipe we will create a generic wood material; in case you need a particular
kind of wood, this shader can be easily adapted:
Getting ready
Start Blender and load the file
1301OS_04_start.blend
.
How to do it...
Now we are going to create the material:
1. Click on
New
in the
Material
window under the
Properties
panel or in the
Node Editor
header. Rename the material
Wood
.
2. Switch the
Diffuse
shader with a
Mix Shader
node. In the first
Shader
slot
select a
Diffuse BSDF
shader, in the second
Shader
slot select
Glossy
BSDF
. Set the
Glossy
node's
Roughness
to
0.300
.
3. Add a
Fresnel
node (Press
Shift
+
A
and go to
Input
|
Fresnel
) and a
Mix
node (Press
Shift
+
A
and go to
Color
|
Mix
). Set the
IOR
value of the
Fresnel
node to
2.000
and connect its output to the
Color1
input socket
of the
Mix
node; set the
Mix
node's
Fac
value to
0.900
and the
Blend
Type
to
Multiply
. Connect the
Multiply
node output to the
Fac
input sock-
et of the
Mix Shader
node.
4. Add a frame (Press
Shift
+
A
and go to
Layout
|
Frame
), select all the
nodes and then the frame and press
Ctrl
+
P
to parent them. Rename the
frame as
SHADERS
.
5. Add one
Texture Coordinate
node (Press
Shift
+
A
and go to
Input
|
Tex-
ture Coordinate
) and three
Mapping
nodes (Press
Shift
+
A
and go to