RSL
|
|
When applied by the shader shown in listing 1 the maps can provide the illusion of, say the discoloration of the surface of a fruit, becoming larger over time. The shader simply blends from one map channel into another - figures 1 and 2. Figure 2
The five channel PhotoShop image was saved as a tif file and converted to a texture using Pixar's txmake utility. Listing 1
Slightly different results can be obtained by substituting the RSL
function |
© 2002- Malcolm Kesson. All rights reserved.