shader: "depth cue"

"depth cue"

ShaderForeground

"depth cue"( "near" LtFloat 0.0
"far" LtFloat 1000.0
"background colour" LtColour (0.0, 0.0, 0.0)
)
Synopsis A linear attenuation within a specified depth range.
Locationlishlite
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)
Next page alphabetically (depthoffield)
Index


Copyright © 1990-2004, 2005 LightWork Design Limited. All rights reserved