ChartDirector 5.1 (PHP Edition)
phpchartdir.phongLighting
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
ambientIntensity | 0.5 | The ambient reflection coefficient of the Phong lighting model. |
diffuseIntensity | 0.5 | The diffuse reflection coefficient of the Phong lighting model. |
specularIntensity | 0.75 | The specular reflection coefficient of the Phong lighting model. |
shininess | 8 | The shininess coefficient of the Phong lighting model. |
Return Value