Table of Contents
Chapter Index
Previous Slide
Next Slide
413
Summary
Controlling how shapes are shaded
Summary
The
diffuseColor
field controls the matte color
The
specularColor
and
shininess
fields control the color and size of the
highlight
The
ambientIntensity
field controls the effect of ambient light