SPOTLIGHT

THE BOX'S MAIN HELP:
This is a spotlight shader.
LGT is the color of the light.
DIR is the direction vector for the light.
ANG is the size of the total cone of light in degrees
DLT is the part of the cone for the falloff in degrees.
RMP is the falloff ramp, 1 is linear.

LGT (input):
This must be a color.  The default is WHITE.
This controls the color of the light.

DIR (input):
This must be a vector.  This is the direction vector for the light.
The default is down the Z axis.

ANG (input):
This must be a scalar.  The default is 20.0.
This is an angle in degrees which describes half 
the size of the total light cone.

DLT (input):
This must be a scalar.  The default is 5.0.
This is the angle in degrees of the part of the cone for the falloff.
For best results this value should be less than ANG.

RMP (input):
This must be a scalar.  The default is 1.0, a linear ramp.
This is the rate at which the falloff ramps off.

OUT (output):
This is the color of the spotlight.

<-- BACK TO Shaders

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