PROJECTOR

THE BOX'S MAIN HELP:
This is a  projector light shader.
MAP is the path to the image file to be projected.
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.

MAP (input):
This is the file path for the image file to be projected.
It must be for a valid texture file.

LGT (input):
This must be a color.  The default is WHITE.
This color is multiplied by the color from the image;

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.  This is an angle in degrees. 
It describes 1/2 the size of the total light cone.
An ANG of 180 is the same as a point light.

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

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

<-- BACK TO Shaders

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