Skip to content

Light Wrap ​

Lets light from the background bleed onto the edges of a foreground, so a keyed or CG element sits in its plate instead of looking cut out.

Category: Composite Menu path: Composite > Light Wrap

Ports ​

PortTypeDirectionDescription
inimageRgba16finputForeground (the element being integrated)
backgroundimageRgba16finputThe background it will sit over
outimageRgba16foutputThe foreground with background light on its edges (or just the light, with Wrap Only)

Parameters ​

ParamTypeDefaultDescription
widthscalar20How far into the foreground the light reaches, in comp pixels. Also how much the background is blurred.
intensityscalar0.5Strength of the wrapped light.
wrapOnlybooleanfalseOutput only the added light instead of the foreground with the light on it.

How It Works ​

Light Wrap blurs the foreground's alpha by width and keeps the part of the foreground near its edge — strongest right at the edge, fading to nothing width pixels in. It blurs the background by the same amount and adds that blurred light into the foreground there, scaled by intensity. Outside the foreground nothing is added, and the alpha is the foreground's own, so the result still composites like the foreground. A transparent part of the background lends no light.

Light Wrap does not put the foreground over the background — follow it with a Merge:

Foreground → Light Wrap (background ← plate) → Merge over the plate

Usage Examples ​

Basic: Integrate a keyed actor ​

  1. Key the actor (Keying), then add Light Wrap.
  2. Wire the background plate into background.
  3. Merge the Light Wrap output over the same plate. Raise width for soft, hazy light; lower it for a tight rim.

Creative: Wrap only, added on top ​

Turn wrapOnly on and Merge the result over your finished comp in Add mode — the same light, but as a separate layer you can grade, blur or animate on its own.

Tips ​

  • A bright background (sky, window, light source) is where light wrap matters most; against a dark plate it does very little.
  • Width is in comp pixels, so the look holds at every preview quality.
  • Use the same plate for background that you Merge over, or the wrapped light will not match what is behind the element.
  • Merge — put the wrapped foreground over the background
  • EdgeBlur — soften the edge before wrapping it
  • Glow — light spreading outward from bright areas instead of inward from the background