Graphics Programs Reference
In-Depth Information
5. Connect the Object output of the Texture Coordinate node to the Vector
input of the Mapping node, then the output of this one to the Vector input
of the Voronoi Texture node.
6. Set the Voronoi Texture node Scale to 25.000 . Add an RGB to BW
node (press Shift + A and go to Convertor | RGB to BW ) and a Math
node ( Shift + A and go to Convertor | Math ); connect the Voronoi Tex-
ture node's Color output to the RGB to BW node and this one to the first
Value input of the Math node.
7. Set the Math node operation to Multiply and the second Value to
-0.150 ; connect its Value output to the Displacement input socket of
the Material Output node.
How it works...
You have probably noticed that this recipe is simply a variation of the generic plastic
shader. We changed the Color to white and, instead of the Noise Texture node, we
used a Voronoi Texture node with a different Scale to add the typical polystyrene
pattern; then, by increasing the Roughness value of the Glossy shader, we made
the specularity more diffused.
Search WWH ::




Custom Search