AMBIENT

THE BOX'S MAIN HELP:
This function returns a color.  OUT = Ka * AMB.
The color is the co-efficient Ka multiplied by the surface color AMB. 

Ka (input):
Must be a float.
This is the co-efficient for the ambient function.
It controls the intensity of the returned color.
For best results Ka should range from [0,1].  Defaults to 0.1.

AMB (input):
Must be a color.  This is the surface color.

OUT (output):
This function returns a color.  OUT = Ka * AMB.
The color is the co-efficient Ka multiplied by the surface color AMB. 

<-- BACK TO Functions

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