9.5.2

Table Of Contents
916 CHAPTER 18
THE SHADERS 917
Simple Turbulence
This shader creates colored fractal turbulence. The gradient determines the colors of the turbulence.
U Frequency and V Frequency determine the neness of the structure. U=1 and V=1 create a radial-
like pattern, while U=1 and V=0.25 give elongated shapes. The higher these values, the greater the
detail (or frequency) in the relevant direction. Octaves is the number of iteration steps for generating
this fractal turbulence. The more octaves, the more added detail you obtain. With a setting of 1, the
Turbulence shader is almost identical to the Noise shader; there is no point in setting this value too
high since only a certain amount of detail can be added.
Stareld
The stars are always computed with a continually varying size. In addition, the
brightness of the stars varies. The result is the effect that some stars appear
to be closer than others.
This shader has no dialog and simulates a starry night. The number of stars can be controlled by tiling
the texture.