PLASTIC

THE BOX'S MAIN HELP:
This shader simulates a plastic surface.
Ka  is the coefficient to the ambient function.
Kd  is the coefficient to the diffuse function.
Ks  is the coefficient to the specular function.
Ns  is the exponent to the specular function.
AMB is the ambient color.
DIF is the diffuse color.
HI  is the highlight color.

Ka (input):
Must be a float.  Default is 0.1.
Coefficient to the ambient function, controls the intensity 
of the color returned from the ambient function.

Kd (input):
Must be a float.  Default is 1.0.
Coefficient to the diffuse function, controls the intensity 
of the color returned from the diffuse function.

Ks (input):
Must be a float.  Default is 1.0.
Coefficient to the specular function, controls the intensity 
of the highlight returned from the specular function.

Ns (input):
This must be a scalar.  The default is 30.0.
Ns is the shininess, the exponent to the specular function.
It controls the rate to the falloff for the specular highlight.
The larger the exponent, the shinier the material appears,
because the falloff is more rapid.

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

DIF (input):
Must be a color.  Default is BLUE.
This is the diffuse surface color.

HI (input):
Must be a color.  Default is WHITE.
This colors the highlight returned from the specular function.

OUT (output):
This shader simulates a plastic surface.
This is the surface color.

<-- BACK TO Shaders

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