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.
rgh is the exponent to the specular function.
OP  is the surface opacity.
AMB is the ambient surface color.
DIF is the diffuse surface color.
HI  is the highlight color.
NN  can be used to add a bump pattern or texture.

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.

rgh (input):
Must be a float.  Default is 0.2.
Roughness is the exponent to the specular function.
It controls the rate to the falloff for the highlight.

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.

OP (input):
Must be a color.  Default is WHITE.
This is the surface opacity color.
Transparent is black; completely solid is white.

NN (input):
This must be a normal.  Default is the surface normal, N.
This affects the normal for purposes color shading.

OI (output):
This shader simulates a plastic surface.
This is the returned surface opacity.
Transparent is black; completely solid is white.

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

<-- BACK TO Shaders

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