shaderange(3G) — Silicon Graphics
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
Pascal
procedure shaderange(lowindex, highindex: longint;
z1, z2: longint);
DESCRIPTION
shaderange sets the range of color indices used in drawing depth-cued lines and points. The range [z1, z2] is mapped linearly into the color index range. z values less than z1 map to highindex; z values greater than z2 map to lowindex.
SEE ALSO
depthcue Programming Guide, Section 13.1, Shading
Version 3.6 — December 20, 1987