specularConstant attribute | specularConstant property

Specifies the diffuse refection constant used to calculate the effects of diffusion and reflection from a light source.

This property is read-only.

Scalable Vector Graphics: Filter Effects, Section 15.25.25Internet Explorer 10

 

Syntax

HTML
<element specularConstant="ptr" ... >

 

JavaScript
ptr = object.specularConstant

 

Property values

Type: SVGAnimatedNumber

A non-negative number. If not specified, this defaults to 1.0.

Standards information

Remarks

The specularConstant property specifies the ratio of reflection of the diffuse element of light from a light source. For more information, see Phong lighting model.

See also

SVGFESpecularLightingElement

 

 

Show: