Specification link: 15.8 Light source elements and properties

filters-displace-01-f ← index → filters-morph-01-f

# filters-light-01-f
SVG Image | PNG Image
filters-light-01-f Validates operation of the various SVG lights Filters: feDistantLight, fePointLight, feSpotLight Various values for feDistantLight azimuth and elevation (0, 0) (45, 0) (0, 45) (45, 45) Various values for fePointLight's x, y and z (0, 0, 10) (50, 0, 10) (0, 30, 10) (50, 30, 10) Various values for feSpotLight's x, y, z, pointsAtX, pointsAtY, pointsAtZ (25, 0, 25) (25, 30, 0) (25, 30, 25) (25, 0, 0) np=1 limitingConeAngle=30 $Revision: 1.8 $ |

Verify the basic operation of the different lights used in the feDiffuseLighting and feSpecularLighting elements. The test uses the same feDiffuseLighting filter, using different lights.

The first row shows different settings for feDistantLight. The second row shows different settings for fePointLight. The last row shows different settings for feSpotLight.

The rendered image should look approximately like the reference image, except for the last feSpotLight test for which a reference image could not be created. The reference image may not be pixel accurate. However, the rendered image should show at least 'similar' lighting results and bump maps.

filters-displace-01-f ← index → filters-morph-01-f