|
| ||||||||||||||||
| Shader | Foreground
| |||||||||||||||
| Synopsis |
A linear attenuation within a specified depth range.
| |||||||||||||||
| Location | lishlite | |||||||||||||||
| Description |
A foreground shader that adds a background colour specified
by parameter "background colour"
according to the distance of the
surface from the viewer.
At distances less than that given as
"near", no background colour is added.
At distances greater than "far",
the full background colour is returned.
Between the two distances, the output is linearly interpolated
between the surface and background colours.
The effect is that depth information in the geometry is
enhanced in the final image.
Previous page alphabetically (decalreflectance) | |||||||||||||||
Copyright © 1990-2004, 2005 LightWork Design Limited. All rights reserved | ||||||||||||||||