9.5.2

Table Of Contents
902 CHAPTER 18
THE SHADERS 903
Variation set to 1 (left) and 2 (right). Width set to a high value (left) and low value
(right).
From left to right: W Factor set to 1.5, 1 and 0.7.
Diffuse Intensity set to 0.3 (left) and 0.8
(right).
Diffuse Variation set low (left) and high
(right).
Intensity, Variation
The Intensity controls the overall brightness of the color reexes. A value of 0 means no effect at all,
while bigger values result in brighter color reexes. Variation denes how many times the gradient is
repeated within the dened range.
Out of Range Type
In combination with the Variation parameter, Out Of Range Type controls if and how the gradient is
repeated. Experiment with the Stop, Mirror and Tiling modes to see the effect. With Stop, the gradient
is applied once only and the last color is used for the outer areas that are out of range. With Mirror,
the gradient is mirrored when it is repeated to avoid seams. With Tiling, the gradient is repeated
according to the Variation value.