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:
<feDistantLight>defines a distant light source,<fePointLight>positions a point light source, and<feSpotLight>defines a spotlight source.
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>.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top