feSpecularLightingElement element | SVGFESpecularLightingElement object
Lights a source graphic using the alpha channel as a bitmap.
![]() ![]() |
Syntax
<feSpecularLighting in="input" result="output" surfaceScale="5" specularConstant=".75" specularExponent="20" lighting-color="#333333" <fePointLight x="-50" y="-100" z="200"/> </feSpecularLighting>
DOM Information
Inheritance Hierarchy
Members
The SVGFESpecularLightingElement object has these types of members:
Properties
The SVGFESpecularLightingElement object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Gets or sets the height of an element. | ||
| Read-only |
Identifies input for the given filter primitive. | |
| Read-only |
| |
| Read-only |
| |
| Read-only |
Provides a reference for the output result of a filter. | |
| Read-only |
Specifies the diffuse refection constant used to calculate the effects of diffusion and reflection from a light source. | |
| Read-only |
Specifies surface height when the alpha channel of the input image is set to 100% opacity. | |
|
Defines the width of an element. | ||
|
Gets or sets the x-coordinate value. | ||
|
Gets or sets the y-coordinate value. |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.25
Remarks
The resulting image is an RGBA image based on the light color. The lighting calculation follows the standard specular component of the Phong lighting model. The resulting image depends on the light color, light position, and surface geometry of the input bump map.
See also

