Spill suppression

On this page 7

Spill suppression is the compositing operation that removes unwanted green or blue light reflected from a chroma key backdrop onto the foreground subject. In motion graphics & VFX, it is a standard step after keying, because a clean matte alone does not fix the colored contamination that remains on skin, hair, clothing and edges.

Spill appears because a brightly lit screen acts as a large colored light source. It bounces onto the actor and blends into semi-transparent edges such as hair and motion blur. Without suppression, the subject shows a green or blue fringe that immediately reveals the composite when it is placed over a new background.

How spill suppression neutralizes screen color

Spill suppression works by limiting the dominant screen channel relative to the other two color channels. For a green screen, the most common rule says that the green channel of a pixel may not exceed a reference built from red and blue. Wherever green rises above that limit, the excess is considered spill and is removed.

The classic limit algorithms differ in how they build the reference value. The average method caps green at the mean of red and blue, which is gentle and preserves most natural greens. The maximum method caps green at the larger of red and blue, which is more aggressive. The minimum method caps green at the smaller of the two and removes the most spill but also damages legitimate colors.

The following table compares the three basic limit methods for a green screen.

MethodGreen limited toStrength and side effect
Average limitMean of red and blueBalanced, may leave slight spill
Maximum limitLarger of red and blueStrong, shifts yellows and cyans
Minimum limitSmaller of red and blueStrongest, desaturates many hues
Basic spill limit methods for green screen

Removing green alone makes the affected areas darker and shifted toward magenta, because the complementary color becomes dominant. Professional workflows therefore include luminance and hue compensation, which adds back brightness or replaces the removed color with a neutral or environment-matched tone.

Types of spill and where they appear

Spill is not a single phenomenon. Compositors distinguish several sources of contamination, and each requires a slightly different treatment. Identifying the source early saves time during the composite.

Spill typeCauseTypical location
Edge spillScreen color blended into soft edgesHair, motion blur, fabric fibers
Bounce spillScreen light reflected onto the subjectShoulders, cheeks, back of the head
Reflective spillMirror-like reflection of the screenGlasses, metal, glossy plastic
Floor spillLight from a colored floorFeet, legs, lower clothing
Lens flare spillScattered screen light in the opticsOverall veil, reduced contrast
Common forms of spill on a keyed subject

Edge spill is closely linked to the matte, because the key determines how much of the background color remains in partially transparent pixels. Bounce spill, in contrast, lies inside fully opaque areas and must be handled by suppression rather than by the key.

Spill suppression compared with keying and color correction

Spill suppression is one stage within a chroma key pipeline, and it is often confused with the stages around it. A clear division of tasks keeps the composite controllable.

StepMain outputWhat it solves
KeyingAlpha matteWhich pixels are foreground
Spill suppressionCorrected foreground colorScreen color on the subject
Edge treatmentRefined matte edgesHard, chattering or fringed outlines
Light wrapBackground light on edgesIntegration with the new plate
Color correctionMatched overall gradeConsistency between foreground and plate
Spill suppression and neighboring compositing steps

Most dedicated keyers, such as Keylight, Primatte and the Ultimatte-style tools, include built-in despill controls. Many compositors nevertheless prefer to separate the matte and the despill into different branches of the node tree. A strong key often needs aggressive settings that would damage colors, while the color pass benefits from a gentler, more precise suppression.

Practical techniques in compositing software

In node-based tools such as Nuke and Blackmagic Fusion, spill suppression is often built from channel expressions or dedicated despill nodes. In layer-based tools such as Adobe After Effects, it is typically applied as an effect after the keyer. The principle is the same: identify excess screen color, remove it and compensate for the change.

  • Use a spill map that isolates the removed color so that it can be inspected and reused.
  • Add the spill map back as neutral luminance to avoid dark, muddy edges.
  • Tint the restored light with background environment color for better integration.
  • Restrict strong suppression with garbage or core mattes to protect costumes and props.
  • Check the result on a neutral gray background and on the final plate.

Productions also reduce spill on set. Placing the subject 2 to 4 meters from the screen, lighting the screen evenly without overexposing it, using a backlight to separate the subject and avoiding costumes close to the screen color all reduce the amount of correction needed later.

Limitations and common mistakes

Spill suppression is inherently destructive because it cannot distinguish spill from genuine colors that share the screen hue. Green plants, teal clothing or blue eyes can be desaturated or shifted, which is why protective masks and hue-restricted suppression are essential.

SymptomLikely causeFix
Magenta or pink skinOver-suppression without compensationGentler limit, add luminance back
Dark gray hair edgesSpill removed, nothing restoredRebuild edges with background color
Faded green propsGlobal suppressionProtect props with a mask
Remaining green glowLimit too weak or wrong channelStronger method in edge areas only
Spill suppression problems and fixes

A frequent mistake is judging the despill only against a black background, which hides subtle residues. Another is applying suppression before the key in a way that changes the screen color the keyer relies on, which can degrade the matte.

A non-technical view

Actors often stand in front of a bright green wall. Some of that green light bounces onto them. Their faces, hair and shoulders pick up a slight tint. A colorful wall in strong sunlight does the same to a person nearby.

Later, the green wall is replaced with a new scene. The tint would then look strange and give away the trick. Spill suppression removes the leftover green glow. The actor then looks naturally lit, as if filmed in the new location.

A concrete example

A small studio is producing a weather segment for a regional broadcaster. The presenter stands about 1.5 meters from a green cyclorama because the studio is small, and her blond hair and light gray jacket pick up visible green bounce light. The keyer produces a clean matte, but over the weather map her hair edges glow green and her jacket looks faintly olive.

The compositor adds a separate despill stage using the average limit method, then adds the removed green back as neutral luminance so the edges do not turn gray. A mask protects the green elements of the studio logo held in the frame. After the change, the presenter appears naturally integrated with the map, and the team also moves her another meter from the screen for future broadcasts to reduce spill at the source.