
11.2. CPU textures 463
11.2 CPU textures
In this section we will examine algorithms to generate seven classes of procedural
textures built using three principles: regular patterns, irregular patterns, per-
turbation to surface normal vectors or a combination all three. The algorithms
do not assume any particular restriction on their implementation. Versions of
some of them for GPU use will be examined further in section 11.3.
11.2.1 Regular dots
In section 11.1.1 we saw how to produce a repetitive pattern of dots by embedding
a sphere in the basic texture cell. It would take only a small modification to place
cubes or other patterns at the center of