Web 3D-Development Library
 

LightingParameters Properties of taccgl

Signature:   taccgl.lightAmbient
taccgl.lightDiffuse
taccgl.lightSpecular
taccgl.lightShininess
 

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.

Next Page:taccgl.stdEye - Default Eye Point
Previous Page: taccgl.stdLight - Default Light Source
Please Add a Comment or Question, click here!