The Light node is a property node used to apply simulated lighting or drop shadow effects to upstream shapes. It can create the illusion of depth on 2D objects by calculating how light would interact with their surface.
Parameters
| Parameter | Description |
|---|---|
Label | The display name for the node. |
Group | Apply the light only to shapes in this group. |
Type | The type of light source or effect. |
Color | The color of the light. |
Intensity | The brightness of the diffuse light. |
Surface Scale | Controls the perceived height/depth of the surface texture. |
Azimuth | The direction of the light source on the XY plane. |
Elevation | The angle of the light source from the XY plane towards the Z axis. |
Position | The X, Y, and Z coordinates of the point light. |
Offset | The offset of the drop shadow. |
Blur | The blur radius of the drop shadow. |
Color | The color of the drop shadow. |
Opacity | The opacity of the drop shadow. |
Blend Mode | How the light blends with the shape. |
Effect Types
The Type parameter determines the kind of effect the node will produce. Each type has its own set of parameters to control its appearance.
| Effect Type | Description | Result |
|---|---|---|
| Before | A simple shape without any lighting or shadow effects. | |
Distant | Simulates a far-away light source like the sun, where light rays are parallel. Controlled by Azimuth (direction) and Elevation (angle). | |
Point | Simulates a light bulb at a specific X, Y, Z coordinate. Light radiates outwards from this point. | |
Shadow | Creates a drop shadow effect behind the shape. Controlled by offset, blur, color, and opacity. |