AMBIENT

THE BOX'S MAIN HELP:
This function returns a color.  OUT = CS*Ka*ambient()
The color is the sum of the contributions of all ambient light sources
multiplied by the co-efficient Ka and the surface color CS. 
refer to page 315 in the RenderMan Companion.

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.
refer to page 315 in the RenderMan Companion.

CS (input):
Must be a color.  This is the surface color.
It tints the color returned from the ambient function.
refer to page 315 in the RenderMan Companion.

OUT (output):
This function returns a color.  OUT = CS*Ka*ambient()
The color is the sum of the contributions of all ambient light sources
multiplied by the co-efficient Ka and the surface color CS. 
refer to page 315 in the RenderMan Companion.

<-- BACK TO Functions

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