The <feDistantLight> filter primitive defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.
On this page
<feDistantLight>
Usage context
Attributes
Global attributes
Specific attributes
DOM Interface
This element implements the SVGFEDistantLightElement interface.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1 # feDistantLightElement |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
feDistantLight |
No | ≤18 | No | No | No | No | No | No | No | No | No | No |
azimuth |
No | No | No | No | No | No | No | No | No | No | No | No |
elevation |
No | No | No | No | No | No | No | No | No | No | No | No |
See also
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight