MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

diffuseConstant

« SVG Attribute reference home

The diffuseConstant attribute represant the kd value in the Phong lighting model. In SVG, this can be any non-negative number.
If the attribute is not specified, then the effect is as if a value of 1 were specified.

Usage context

Categories None
Value <number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Example

Elements

The following elements can use the diffuseConstant attribute

Document Tags and Contributors

 Contributors to this page: Jeremie
 Last updated by: Jeremie,