<feDiffuseLighting> Playground
Simulate matte (Lambertian) surface lighting. Uses the alpha channel as a bump map and renders diffuse reflections from a light source.
Preview
Parameters
Height of the bump map. Higher values create more pronounced 3D relief.
Intensity multiplier for the diffuse reflection. Higher = brighter surface.
Colour of the simulated light source.
"fePointLight" - light from a specific point
"feDistantLight" - parallel rays (like sunlight)
"feSpotLight" - focused cone of light
"feDistantLight" - parallel rays (like sunlight)
"feSpotLight" - focused cone of light
Generated Code