Web 3D Design Library

LightingParameters Properties of taccgl

Signature:   taccgl.lightAmbient

lightAmbient, lightDiffuse, lightSpecular define the strength of ambient, diffuse, and specular reflection. lightShininess defines the Shininess. Default values are lightAmbient=0.7; lightDiffuse=0.3; lightSpecular=0.3; lightShininess=256.

The values of the parameters can be changed anytime, also while an animation is running. However some of the values are taken as default values at creating time of transitions, while others take immediate effect. See lightAmbDiff, lightBgAmbDiff, specLight, and color.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.stdEye - Default Eye Point
Previous Page: taccgl.stdLight - Default Light Source