Donner
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
"<feDiffuseLighting>"

Lights an image using the alpha channel as a bump map, computing the diffuse component of the Phong lighting model.

This element is defined within a "<filter>" element, and must contain exactly one light source child element ("<feDistantLight>", "<fePointLight>", or "<feSpotLight>").

Example usage:

<filter id="MyFilter">
<feDiffuseLighting surfaceScale="5" diffuseConstant="1" lighting-color="white">
<fePointLight x="50" y="50" z="100" />
</feDiffuseLighting>
</filter>