|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shader | Displacement
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis |
Models surface texture of leather.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Location | lishpro | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
Displacement shader which mimicks the surface detail of leather.
The basic pattern is a series of "cells" of unit size which vary
from square to irregular convex shape using the parameter
"irregularity" which varies from 0.0 to 1.0. The height of each
cell is controlled using "cell amplitude" and the smoothness of
the edges is controlled by a smoothstep function with the minimum
and maximum values set using "smooth min" and "smooth max"
parameters.
The shape of the grooves between cells can also be controlled. The parameter "curve amplitude" determines how curved the edges of the cells are, the parameter "curve frequency" determines how wriggly the edges are, with a value of 1.0 indicating one cycle per cell. The detail in the grooves between cells can be controlled using "curve detail". This varies from 1 to 10 and gives the grooves an increasingly creased appearance. The bumpiness of the surface can be controlled using two sets of "rough" and "fold" parameters. These add bumps to the surface, the amplitude controlled by "rough amplitude" and "fold amplitude", the detail controlled by "rough detail" and "fold detail", and the frequency by "rough frequency" and "fold frequency". The "rough" parameters refer to high frequency bumps which occur within cells, and the "fold" parameters refer to widespread undulating pattern used to simulate wrinkles in the material. The number of cells per unit square is determined using the "scale" parameter. When set to one there is on average one cell per unit square. The amplitude of cells scales inversely with the scale factor, hence the more cells per unit volume the lower the amplitude of the cell.
Previous page alphabetically (wrappedknurl) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1990-2004, 2005 LightWork Design Limited. All rights reserved | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||