XML technologies / SVG / Filters, transformations and gradients / Using and combining filters and lighting effectively / Lighting effects / How do lighting effects work?

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

Like other filter effects, lighting effects are defined inside the <filter> tag, but also contain child elements specifying the light sources’ properties and positions. These elements are available for defining light sources:

These are the available elements.

These elements let you define a light source inside a lighting effect. You can then merge several lighting effects, like other filters, using <feComposite>.

   

 

 

 

back to top