Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

specularExponent

« SVG Attribute reference home

The specularExponent attribute controls the focus for the light source, a larger value indicate a more "shiny" light.

For the <fespecularlighting> the value should be in the range 1.0 to 128.0

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) : feSpotLight
SVG 1.1 (2nd Edition) : feSpecularLighting

Example

Elements

The following elements can use the specularExponent attribute

Document Tags and Contributors

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