Graphics Programs Reference
In-Depth Information
put of the Image Texture node to the Fac input socket of the Color-
Ramp_darken node and the Color output of the latter to the Fac input
socket of the scales_dark mix node. Move both the black and white
colored markers to one-fourth of the slider length from the left (very close
together).
28. Add a Mix node (press Shift + A and go to Color | Mix ), rename it as
scales_dark_amount and paste it to the right of the scales_dark mix
node. Set the Fac value to 0.150 and connect the Color output of the
scales_pattern mix node to the Color2 input socket.
How it works...
This is how the preceding steps work to create a snake-like scaly material:
• From step 3 to step 6, we built the ground for the shader by mixing, as
usual, a diffuse and a glossy node, factored by the output of a Fresnel
node.
• From step 7 onwards, we started building the scales bump pattern by us-
ing a tile-able image map. And from step 11 onwards, we refined the de-
tails in the scales pattern by adding the outputs of some procedural tex-
tures. With step 18, the bump pattern is complete.
• From step 19 to step 28, we build the color pattern by mixing the values
of the image texture in a noise procedural to add uneven dark coloration
to the scales and by using the scales' image edges as a stencil for the
connective_color node.
Search WWH ::




Custom Search