shaderange(3G) shaderange(3G)
NAME
shaderange - sets range of color indices used in depth-
cueing
SPECIFICATION
C shaderange(lowindex, highindex, z1, z2)
Colorindex lowindex, highindex;
Screencoord z1, z2;
FORTRAN subroutine shader(lowindex, highindex, z1, z2)
integer*2 lowindex, highindex, z1, z2
DESCRIPTION
shaderange sets the range of color indices used in drawing
depth-cued lines and points. z values in the range specified
by z1 and z2 are mapped linearly into the range of color
indices that lowindex and highindex specify. z values less
than z1 map to lowindex; z values greater than z2 map to
highindex.
SEE ALSO
depthcue
Programming Guide, Section 13.2, Depth-Cueing
Page 1 (printed 8/20/87)