MotionScript

@motion-script/core


@motion-script/core / VignetteEffect

Interface: VignetteEffect

Defined in: attributes/shape/effects/implementations/vignette.ts:15

Darkened corners — the lens falloff every photo grade reaches for.

The node box is normalised to a unit ellipse, so the falloff follows the node's aspect ratio rather than an off-centre circle. Everything inside radius is untouched; from there to radius + softness the tint ramps in with a smoothstep, reaching amount at the corners.

Extends

Properties

amount

amount: number

Defined in: attributes/shape/effects/implementations/vignette.ts:18

0–1 tint strength at the very edge. 0 = off.


color

color: Color

Defined in: attributes/shape/effects/implementations/vignette.ts:24

Tint colour — black darkens (the classic look), white blows the edges out.


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

ModedEffect.mode


radius

radius: number

Defined in: attributes/shape/effects/implementations/vignette.ts:20

0–1 normalised radius where the falloff starts (1 ≈ the box corners).


softness

softness: number

Defined in: attributes/shape/effects/implementations/vignette.ts:22

0–1 width of the ramp; 0 is a hard ring, 1 a long gradient.


type

type: "vignette"

Defined in: attributes/shape/effects/implementations/vignette.ts:16