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.
| Method | Green limited to | Strength and side effect |
|---|---|---|
| Average limit | Mean of red and blue | Balanced, may leave slight spill |
| Maximum limit | Larger of red and blue | Strong, shifts yellows and cyans |
| Minimum limit | Smaller of red and blue | Strongest, desaturates many hues |
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 type | Cause | Typical location |
|---|---|---|
| Edge spill | Screen color blended into soft edges | Hair, motion blur, fabric fibers |
| Bounce spill | Screen light reflected onto the subject | Shoulders, cheeks, back of the head |
| Reflective spill | Mirror-like reflection of the screen | Glasses, metal, glossy plastic |
| Floor spill | Light from a colored floor | Feet, legs, lower clothing |
| Lens flare spill | Scattered screen light in the optics | Overall veil, reduced contrast |
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.
| Step | Main output | What it solves |
|---|---|---|
| Keying | Alpha matte | Which pixels are foreground |
| Spill suppression | Corrected foreground color | Screen color on the subject |
| Edge treatment | Refined matte edges | Hard, chattering or fringed outlines |
| Light wrap | Background light on edges | Integration with the new plate |
| Color correction | Matched overall grade | Consistency between foreground and plate |
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.
| Symptom | Likely cause | Fix |
|---|---|---|
| Magenta or pink skin | Over-suppression without compensation | Gentler limit, add luminance back |
| Dark gray hair edges | Spill removed, nothing restored | Rebuild edges with background color |
| Faded green props | Global suppression | Protect props with a mask |
| Remaining green glow | Limit too weak or wrong channel | Stronger method in edge areas only |
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.