Short answer: a green stripe in glasses is a specular mirror image, not spill and not a soft edge. The lens adds the screen's own colour to the eye behind it, so the keyer sees backdrop inside the subject. Measured on this keyer's formula, a 62% reflection makes all 288 test-frame lens pixels non-solid at 22%/3% (84 clear, 204 partial); 20% changes nothing. Fix the geometry, not the tolerance.
A lens is a mirror inside the subject
There are three different ways green gets into a frame, and they fail differently. Spill is diffuse green light bouncing onto a solid surface: the pixel keeps its alpha and changes colour, which is why despill works. A soft edge is a pixel that is a partial mix of subject and backdrop: the keyer is supposed to leave it partly transparent. A reflection in a lens is a second, focused image of the screen laid over the subject: the pixel is fully inside the subject, but its colour is close to the backdrop, so the keyer sets its alpha to zero and the head gets a window through it.
The model is a straight mix, not an additive white sheen: C = (1 − r) × B + r × S, where B is what is behind the lens, S is the lit screen colour, and r is the fraction of the pixel's light that is the reflected image. At r = 0 the lens is clear; at r = 1 it is a perfect mirror. Everything between is a pixel that looks like tinted glass to a human and like a backdrop to a colour-distance key.
Reflectance depends on the angle, and the curve is steep
Glass reflects more light at grazing angles. That is not a rule of thumb; it falls out of the Fresnel equations. The table below is computed for uncoated glass with a refractive index of 1.5: the per-surface reflectance, and the total for a front and a back surface with no absorption. Anti-reflective coatings lower the whole curve, but they do not flatten its shape — the last few degrees before grazing still climb.
| Angle of incidence | 0° | 15° | 30° | 45° | 60° | 70° | 75° | 80° | 85° |
|---|---|---|---|---|---|---|---|---|---|
| Per surface | 4.00% | 4.01% | 4.15% | 5.02% | 8.92% | 17.10% | 25.31% | 38.77% | 61.28% |
| Both surfaces | 7.84% | 7.86% | 8.13% | 9.80% | 17.04% | 31.28% | 44.21% | 62.51% | 85.01% |
Read the second row against the next table. At 60° the lens reflects 17.04% of the screen. Nothing in the frame keys out at that strength. Between 70° and 80° the same lens reflects 31.28% to 62.51%, and that is where a reflected patch starts behaving like a backdrop. A curved lens does not have one angle: the centre can be near normal while the outer edge is at 70° or more. This is why holes usually start at the rim of the lens rather than in the middle, and why turning the head a few degrees can move a hole instead of removing it.
These are computed reflectance values for bare glass, not measurements of a particular pair of glasses. A coated lens reflects less at every angle; a dirty or scratched lens scatters more. The point is the ratio between 60° and 80°, which survives the coating.
How much reflection it takes before the lens becomes a hole
Reflectance is only half the answer. The other half is what is behind the lens, because the keyer measures the mixture, not the reflection. A bright eye white is far from the key already, so it can absorb a lot of green before it crosses the cut. A dark iris or a black frame is closer to the backdrop in the only sense that matters here: distance.
| Behind the lens | Colour | Distance at 0% | Reflection at 22% / 3% | Angle | Reflection at 12% / 8% | Angle |
|---|---|---|---|---|---|---|
| Skin (lens rim) | #d9a07a | 51.00% | 50.92% | 77.1° | 60.60% | 79.6° |
| Eye white | #e8e5e0 | 64.89% | 61.42% | 79.8° | 69.18% | — |
| Eyebrow / dark iris | #1b1b1b | 35.51% | 29.67% | 69.3° | 43.67% | 74.9° |
| Black frame | #111111 | 37.95% | 34.06% | 71.3° | 47.19% | — |
Two consequences follow. First, the darkest thing behind the lens is the easiest to punch out: a reflection of 29.67% over an eyebrow is already enough at the default 22%/3%, while the same reflection over skin does nothing. Second, a tighter key is not automatically worse for the lens. At 12%/8% the eye white needs 69.18% and the skin rim needs 60.60%, so the same 62% reflection leaves most of the lens solid and only punches the iris. The default soft band (22–25%) happens to sit right where a 62% reflection over skin lands (19.27% — below it, so alpha 0), which is why raising tolerance can make a lens worse rather than better.
| Reflection | Skin colour | Skin distance | 22% / 3% | 12% / 8% | Brow colour | Brow distance | 22% / 3% | 12% / 8% |
|---|---|---|---|---|---|---|---|---|
| 0% | #d9a07a | 51.00% | 255 | 255 | #1b1b1b | 35.51% | 255 | 255 |
| 4% | #d0a178 | 48.90% | 255 | 255 | #1a211c | 34.12% | 255 | 255 |
| 8% | #c8a175 | 46.99% | 255 | 255 | #19271e | 32.67% | 255 | 255 |
| 16% | #b6a371 | 42.79% | 255 | 255 | #173321 | 29.84% | 255 | 255 |
| 30% | #98a569 | 35.75% | 255 | 255 | #134826 | 24.87% | 244 | 255 |
| 40% | #82a763 | 30.57% | 255 | 255 | #10572a | 21.29% | 0 | 255 |
| 62% | #52ab56 | 19.27% | 0 | 232 | #0a7832 | 13.48% | 0 | 47 |
| 80% | #2bae4c | 10.13% | 0 | 0 | #059339 | 7.07% | 0 | 0 |
Measured: nine reflection strengths on 288 lens pixels
The sweep below is the same synthetic frame as the figure, re-rendered at each reflection strength with everything else fixed: 280×280 px, two lenses of 34×24 px, a 16×9 px bright patch in each lens, and 6% reflection over the rest of the lens. The 288 patch pixels are the ones measured. The background is 48,616 px and is cleared at every strength and both settings, so the only variable is the lens.
| Patch reflection | 22/3 clear | 22/3 partly | 22/3 solid | 12/8 clear | 12/8 partly | 12/8 solid |
|---|---|---|---|---|---|---|
| 10% | 0 | 0 | 288 | 0 | 0 | 288 |
| 20% | 0 | 0 | 288 | 0 | 0 | 288 |
| 30% | 60 | 0 | 228 | 0 | 0 | 288 |
| 40% | 60 | 24 | 204 | 0 | 0 | 288 |
| 50% | 84 | 0 | 204 | 0 | 60 | 228 |
| 60% | 84 | 0 | 204 | 60 | 24 | 204 |
| 62% | 84 | 204 | 0 | 84 | 0 | 204 |
| 70% | 288 | 0 | 0 | 84 | 204 | 0 |
| 80% | 288 | 0 | 0 | 288 | 0 | 0 |
Three things are worth reading off this table. Below 30% reflection nothing happens at either setting: this is why most face-on shots key cleanly even with glasses. At 30% the first 60 pixels go, and those are the eyebrow and iris pixels, not the eye white — the dark base is the weak point. And at 62% the two settings disagree in a way that looks backwards: the default 22%/3% leaves no solid lens pixel (84 clear, 204 partial), while the hair-safe 12%/8% leaves 204 solid and punches only the 84 iris pixels. The soft band is doing the damage, not the tolerance value itself.
That disagreement is the practical reason a lens reflection cannot be fixed by hunting for a better tolerance. The backdrop in this frame is a flat #00b140; a real backdrop with a shadow or a lighting gradient needs the tolerance the lens cannot afford. Moving the tolerance moves the damage around the lens; it does not remove it.
What actually fixes it, cheapest first
The first two fixes happen before the shutter and cost nothing in image quality. The last three happen after, and each one damages something else. The order is by cost, not by cleverness.
| Fix | What it does to the reflection | Cost |
|---|---|---|
| Move the screen or the glasses | Changes the incidence angle; reflectance falls from 62.51% at 80° to 17.04% at 60° and 7.84% at 0° | Free. The subject's glasses must stay on the face, so move the screen or the camera, not the person |
| Flag the screen away from the lens | Removes the reflected image entirely instead of dimming it | Free, but the flag may shade the subject or the backdrop |
| Polarizer on the camera | Attenuates the polarised part of the specular reflection | 1–2 stops of light; the effect depends on the angle and is not guaranteed. Test it on the actual lens |
| Lens-masked despill before the key | Neutralises the green-dominant mix only where the lens is; measured to recover all 84 fully clear pixels in this frame | Needs a mask and a compositor; not in the browser keyer. Unmasked, it also neutralises the real backdrop |
| Patch or clone the lens | Replaces the reflected area with clean pixels | Manual work per frame; the only repair that does not touch the matte |
| Matte max-filter | Closes holes narrower than 2r px | Measured below: fills 28–80 of the 84 holes while adding 815–3,232 green fringe pixels around the subject |
The despill row needs its position made explicit, because it is the opposite order from the spill workflow. Spill is fixed after the key, on colour, with alpha left alone. A lens reflection has to be fixed before the key, on colour, with a mask — because once the key has written alpha 0, a despill pass cannot restore it. Despill edits two numbers (red and green) and leaves the third (alpha) untouched, so a pixel already at 0 stays at 0: 0 of 84 by construction. Applying the same formula to the lens region before the key recovered 84 of 84 in the model. The alpha has to exist before you can save it.
The max-filter row is the trap that looks like a repair. Taking the maximum alpha in a square window does close a hole; it also grows every silhouette by the window radius. On this frame, a 1 px window fills 28 of the 84 holes and adds 815 opaque background-green pixels around the subject. At 2 px it fills 50 and adds 1,626; at 4 px, 80 and 3,232. A green halo around the whole head is a worse artefact than a small hole in one lens, and unlike the hole it is visible on every background.
| Window radius | Holes closed (of 84) | Green fringe added | Silhouette growth |
|---|---|---|---|
| 1 px | 28 | 815 px | 1 px on every edge |
| 2 px | 50 | 1,626 px | 2 px |
| 3 px | 68 | 2,431 px | 3 px |
| 4 px | 80 | 3,232 px | 4 px |
| Despill before key, lens mask | 84 | 0 px | none |
The despill row is a colour operation on a masked region, not a matte filter: it changes the pixel before the key reads it, so the alpha is never written as 0. That is why it can recover all 84 where the max filter recovers 80 and adds a halo. The mask is the part the browser tool does not have.
Five checks in the browser keyer
The browser keyer is a still-frame tool. It cannot remove a reflection for you, and it cannot read a video. It can tell you, in about two minutes, whether the green inside the glasses is a reflection or something else — which decides whether the fix is on set or in post.
- Load one frame and sample the lit backdrop, not the lens. The keyer works on the whole image; if you sample the green inside a lens you are keying the reflection, and the real backdrop will survive. Sample a flat, lit part of the screen away from the subject.
- Set 22% / 3% and look at the lens at 100%. A reflection shows as a sharp-edged patch inside the lens, often with the shape of the screen or a light. Spill is a soft green cast with no edge. The checkerboard makes the difference obvious: a hole shows squares, spill does not.
- Switch to 12% / 8% and compare the same lens. If the eye-white part of the lens becomes solid again while the iris stays clear, you are looking at the soft-band effect in the measurements above — the key is grazing the lens, not failing on the backdrop.
- Export the alpha and count the lens pixels. The PNG's alpha channel is the evidence. A lens that reads 0 across the pupil is a hole; a lens that reads 200 is a partial. The edge checker reads alpha values the same way.
- If the holes survive 12% / 8%, stop adjusting. No tolerance removes a 62% reflection without removing the backdrop it sits on. The fix is the screen position, a flag, a polarizer test, or a masked repair in an editor.
The keyer's working canvas is capped at 1400 px on the long edge; a 6000×4000 frame is reduced to 1400×933. A 34 px lens becomes about 8 px wide, so inspect a crop at 100% rather than the fit-to-window view. The no-upload page has the full size arithmetic.
Questions that come up on a real shoot
Why does the green screen reflect in my glasses but not on my cheek?
Skin is a diffuse surface: light enters, scatters, and comes back out in many directions, so a green screen adds a broad green cast rather than an image. A lens is a specular surface: it reflects at one angle, like a mirror, so what you see is a small image of the screen. The eye behind the lens is also darker than the cheek, and a dark base needs less reflected green before the mixture lands near the key. That combination — image plus dark base — is why the lens fails while the face around it keys cleanly.
How do I remove a green screen reflection from glasses?
Change the geometry first. The reflectance at 80° is 62.51% and at 60° it is 17.04%, so moving the screen a few degrees away from the mirror angle can take the lens from a hole to a harmless tint without touching a slider. If the shot is already recorded, mask the lens and despill that region before the key; in this frame that recovered all 84 fully clear pixels, where a matte filter recovered at most 80 and added 3,232 green fringe pixels. A patch or clone is the fallback. Raising the tolerance is not on the list, because the backdrop needs the tolerance too.
Is a reflection in glasses the same as green spill?
No. Spill is green light scattered onto a surface; it changes colour and leaves alpha alone, which is why despill runs after the key and is safe on skin. A reflection is an image of the screen with a sharp boundary; it changes colour enough to make the key write alpha 0 inside the subject. Despill after the key cannot restore that alpha — measured 0 of 84 holes recovered. The two problems share a colour, not a mechanism, and the order of operations is opposite.
Can I just lower the tolerance until the lens stays solid?
Partly, and it is a bad trade. At 12% / 8% the 204 eye-white pixels stay solid, but the 84 iris and pupil pixels are still clear, and the key is now tighter than a real backdrop with a shadow or a hot spot can tolerate. The lens does not fail because the tolerance is too high in the abstract; it fails because a 62% reflection over a dark base lands inside the cut. Lowering the cut moves which pixels fail, not whether the lens fails.
Does a circular polarizer remove the reflection?
A polarizer attenuates the polarised part of a specular reflection, and specular reflection is partly polarised at non-normal angles, so it can reduce the reflected image. It is not a guaranteed removal: the amount depends on the angle, the coating and the light, and the filter costs one to two stops. Test it on the actual lens at the actual screen position before you commit a shoot to it. The Fresnel table explains why the effect changes as the subject turns: the angle is the variable, and the polarizer is acting on the same angle.
What changes for video?
The reflection moves with the head and the camera, so a hand-drawn mask has to be tracked, and a hole that is stable in one frame is not stable across a shot. The browser keyer does not read MP4 at all; the route is to export a frame sequence, key or mask the lens per frame, and re-encode with alpha, as described on the video page. If the glasses are the only reflective object, a tracked lens mask plus a despill pass before the key is cheaper than rotoscoping the whole head. If the whole scene is static, a clean plate of the empty set can recover the lens area, but it cannot recover the eye detail that the key deleted.
Next step
Open the green screen remover on one frame and look at the lens at 100% before you move the tolerance. If the green is a soft cast with no edge, it is spill, not a reflection; if the lens is transparent but the frame around it is solid, this page is the right one. For the starting values that keep hair and skin, use the measured tolerance table; for a lens that is also a window in a still frame, the transparent-object page covers the transmission case.