Graphics Programs Reference
In-Depth Information
Creating
a
snow
material
using
procedural textures
In this recipe, we will create a snow material and also fake a slight Sub Surface Scat-
tering effect.
Getting ready
Start Blender and open the
1301OS_03_start.blend
file.
How to do it...
Now we are going to create the material:
1. Select the cube and click on
New
in the
Material
window, under the
Prop-
erties
panel, or in the
Node Editor
window's header. Rename the material
to
Snow
.
2. Set the
Camera
view to
Rendered
.
3. In the
Material
window on the right, under
Surface
, switch the
Diffuse
shader with a
Mix Shader
node. In the first
Shader
slot, select a
Diffuse
BSDF
shader and in the second slot a
Glossy BSDF
shader.
4. Set the
Roughness
value of the
Glossy
shader to
0.300
.
5. Add a
Fresnel
node (press
Shift
+
A
and go to
Input
|
Fresnel
) and a
Math
node (press
Shift
+
A
and go to
Convertor
|
Math
). Set the
IOR
value of
the
Fresnel
node to
1.300
, and then connect the
Fac
output to the first
Value
socket of the
Math
node. Set the second
Value
to
10.000
, the op-
eration mode to
Divide
, and finally connect its
Value
output to the
Fac
in-
put socket of the
Mix Shader
node.
6. Add a
Translucent BSDF
node (press
Shift
+
A
and go to
Shader
|
Trans-
lucent
) and set its color to
R 0.598
,
G 0.721
,
B 1.000
.