HORIZONAL

THE BOX'S MAIN HELP:
This shader returns a horizonal gradient.
S controls the direction.
SCL  scales the rate of the gradient.
OFF offsets the gradient.
FROM is the starting color.
TO is the ending color.

S (input):
This must be a varying float. The default is s.
This controls the direction of the gradient.

SCL (input):
This must be a float.  The default is 1.0.
This scales the rate of the gradient.

OFF (input):
This must be a float.  The default is 0.0.
This offsets the gradient.

FROM (input):
This must be a color.  The default is BLACK.
This is the starting color for the gradient.

TO (input):
This must be a color.  The default is WHITE.
This is the ending color for the gradient.

OUT (output):
This shader generates a horizonal gradient.

<-- BACK TO Shaders

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.