DropShadow

This gizmo creates a drop shadow for any input image that has an alpha channel with values greater than 0.

Inputs and Controls

Connection Type

Connection Name

Function

Input

input

The input image from which shadows are cast.

bg

The background image to merge over using the specified merge operation.

Control (UI)

Knob (Scripting)

Default Value

Function

User Tab

enable drop shadow

enable_dropshadow_effect

enabled

When enabled, the drop shadow effect is applied.

inherit input color

inherit_input_color

disabled

When enabled, the drop shadow uses the input color as the shadow and ignores the color control.

When disabled, the shadow color is determined by the color control.

color

color

0, 0, 0

When inherit input color is disabled, controls the color used for the drop shadow effect.

opacity

opacity

0.7

Controls the opacity of the shadow effect.

angle

dropshadow_angle

225

Controls the direction in which the shadow is cast, where 0/360° is equal to left and 180° is right.

distance

dropshadow_distance

5

Determines the distance from the input that the shadow falls, in pixels.

softness

softness

0

Controls how much blur/feather is applied to the shadow effect.

shrink/expand

size

0

Controls the size of the effect by eroding (negative values) or dilating (positive values) the shadow.

input

operation

over

Sets the merge operation used when comping the input over the background.

See Merge Operations for more information.