Graphics Reference
In-Depth Information
Getting ready
Start Blender and open the
9931OS_07_start.blend
ile.
1. Go to the Render window, and in the Sampling subpanel, click on the Method
to sample lights and materials button to switch from Path Tracing to Branched
Path Tracing. Enable the Square Samples item and under AA Samples, set the
Render value to
8
. Finally, click on the Pattern button to select the Correlated
Multi-Jitter option.
2. Save the file as
9931OS_07_SSS_ngroup.blend
.
How to do it...
Now let's create the material using the following steps:
1.
Click on the New button in the Node Editor window toolbar or in the Material
window under the main Properties panel. In the Node Editor window, delete
the Diffuse BSDF shader node.
2.
Add a Light Path node (press
Shift
+
A
and navigate to Input | Light Path)
and a Geometry node (press
Shift
+
A
and navigate to Input | Geometry).
3.
Add a Math node (press
Shift
+
A
and navigate to Converter | Math). Set
Operation to Multiply and connect the Ray Length output of the Light Path node
to the first Value input socket. Set the second Value input socket to
-1.500
.
4.
Press
Shift
+
D
to duplicate the Multiply-Math node, and set Operation to
Power. Connect the Multiply-Math node output to the second Value input socket
of the Power node. Set the first Value to
20.000
.
5.
Press
Shift
+
D
to duplicate the Power node, and set Operation to Add.
Connect the Power node output to the second Value input socket of the Add-Math
node, and the Is Camera Ray output of the Light Path node to the first Value input
socket of the Add-Math node.
6.
Press
Shift
+
D
to duplicate the Add node. Set the Operation to Minimum. Connect
the output of the Add node to the first Value input socket of the Minimum node,
and set the second Value input socket to
1.000
.
7.
Press
Shift
+
D
to duplicate the Power node, and place it after the Minimum node.
Connect the output of the Minimum node to the first Value input socket of the
duplicated Power node.
8.
Add a Value node (press
Shift
+
A
and navigate to Input | Value), label it as
Contrast
, and connect its output to the second Value input socket of the last
Power-Math node. Set Value to
1.200
.