|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Class | Displacement | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Synopsis |
Models surface texture of leather using a solid displacement texture (the basic pattern is formed by a series of more or less rectangular cells). This shader is identical to the "leather" displacement shader, except that it respects transformations.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arguments |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Location | lishpro | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
Displacement shader which mimics the surface detail of leather
using a solid texture. The basic pattern is a series of "cells" of
unit size which vary from square to irregular convex shape depending on 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 wiggly 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. This shader is identical to the "leather" displacement shader, except that it respects transformations.
Previous page alphabetically (solidleather) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1990-2005, 2006 LightWork Design Limited. All rights reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||