feSpecularLighting

< svg‎ | elements
Jump to: navigation, search

feSpecularLighting

This article is In Progress.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.


Overview Table

DOM Interface SVGElement


Compatibility

There is no data available for topic "svg", feature "feSpecularLighting". If you think that there should be data available, consider opening an issue.

Needs Examples: This section should include examples.

Notes

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.

Syntax

Standards information

Members

The SVGFESpecularLightingElement object has these properties:

  • height: Gets or sets the height of an element.
  • in1: Identifies input for the given filter primitive.
  • kernelUnitLengthX: kernelUnitLength indicates the intended distance in current filter units for dx and dy in the surface normal calculation formulas.
  • kernelUnitLengthY: kernelUnitLength indicates the intended distance in current filter units for dx and dy in the surface normal calculation formulas.
  • result: Provides a reference for the output result of a filter.
  • specularConstant: Specifies the diffuse refection constant used to calculate the effects of diffusion and reflection from a light source.
  • surfaceScale: Specifies surface height when the alpha channel of the input image is set to 100% opacity.
  • width: Defines the width of an element.
  • x: Gets or sets the x-coordinate value.
  • y: Gets or sets the y-coordinate value.


See also

Related articles

Filters

































  • feSpecularLighting









Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]