Expand description
Lighting filters and light nodes.
Macrosยง
- impl_
lighting_ ๐filter
Structsยง
- Diffuse
Lighting - Resolved
feDiffuseLightingprimitive for rendering. - Diffuse
Lighting Params - FeDiffuse
Lighting - The
feDiffuseLightingfilter primitives. - FeDistant
Light - FePoint
Light - FeSpecular
Lighting - The
feSpecularLightingfilter primitives. - FeSpot
Light - Light ๐
- Normal
- 2D normal and factor stored separately.
- Specular
Lighting - Resolved
feSpecularLightingprimitive for rendering. - Specular
Lighting Params
Enumsยง
- Light
Source ๐ - A light source with affine transformations applied.
- Untransformed
Light ๐Source - A light source before applying affine transformations, straight out of the SVG.
Functionsยง
- color_
and_ ๐vector - Returns the color and unit (or null) vector from the image sample to the light.
- diffuse_
alpha ๐ - specular_
alpha ๐ - transform_
dist ๐ - Applies the
primitiveUnitscoordinate transformation to a non-x or y distance.