AnimGraphLab Alpha
Nodes Light

Parameters

Select a node to edit its parameters.

The Light node is a property node used to apply simulated lighting or drop shadow effects to upstream shapes to create the illusion of depth.

Parameters

ParameterDescription
LabelThe display name for the node.
GroupApply the light only to shapes in this group.
PatternApply effect only to specific indices (e.g., 1-5, ^0, 2-).
TypeThe type of light: distant, point, outer/inner shadow.
Apply ToChoose whether to apply the shadow to each shape individually or to a combined version of all input shapes.
OffsetThe offset of the drop shadow.
BlurThe blur radius of the drop shadow.
ColorThe color of the drop shadow.
OpacityThe opacity of the drop shadow.
ColorThe color of the light.
IntensityThe brightness of the diffuse light.
Surface ScaleControls the perceived height/depth of the surface texture.
AzimuthThe direction of the light source on the XY plane.
ElevationThe angle of the light source from the XY plane towards the Z axis.
PositionThe X, Y, and Z coordinates of the point light.
Blend ModeHow the effect blends with layers below it.

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 TypeDescriptionResult
BeforeA simple shape without any lighting or shadow effects.
DistantSimulates a far-away light source like the sun, where light rays are parallel. Controlled by Azimuth (direction) and Elevation (angle).
PointSimulates a light bulb at a specific X, Y, Z coordinate. Light radiates outwards from this point.
ShadowCreates a drop shadow effect behind the shape. Controlled by offset, blur, color, and opacity.

Understanding Point Lights

The Point Light creates a pseudo-3D effect by treating your 2D shape like a 3D terrain. It uses the shape’s opacity to determine height: the center is “high” and the transparent edges are “low.”

It creates a counter-intuitive interaction with the Scale parameter:

  • Scale is Height, not Size: Think of Scale as the steepness of your shape’s terrain.
    • High Scale: Turns your shape into a steep, tall mountain peak. The light only hits the very tip, resulting in a smaller, sharper light.
    • Low Scale: Turns your shape into a flat, gentle hill. The light washes over the surface, resulting in a larger, softer light.

How to control the look:

  1. Large light: Scale (try 1-5), Z position (try 50-60), Intensity (try 2-3).
  2. Small light: Scale (try 1-2), Z position (try 10), Intensity (try 2-3).

See also