As light passes through a camera lens, it does not stay perfect. The glass stack, aperture, coatings, and matte box all imprint artifacts on the image: soft focus falloff, dark corners, geometric warps, color fringes, flares, haze, and grain (or noise).

As light passes through a camera lens, it does not stay perfect. The glass stack, aperture, coatings, and matte box all imprint artifacts on the image: soft focus falloff, dark corners, geometric warps, color fringes, flares, haze, and grain (or noise).
Matching those artifacts when you integrate CG or elements into a photographed plate — or adding a coherent lens package on a full-CG shot — is essential to photorealism. One effect alone will not “complete the picture.” A full, ordered lensing setup is greater than the sum of its parts.
Every compositor should understand a little photography: how light interacts with a lens, and in what order those effects happen.
Lensing should be one of the last stages of the composite, after keys, grades that match plate lighting, and creative integration — then roughly in the order light would experience inside a real camera / pipeline.
A practical end-of-stack order (adjust to show standards):
Doing grain or a heavy vignette before a key or a big grade makes every retake fight you. Keep the lens package modular and late.
Real lenses only focus a limited depth range. Subjects outside the focus plane go soft; bright out-of-focus points become bokeh shaped by the aperture.
A majority of the time DOF is achieved with the zDefocus node in comp. Most render engines do provide ray traced depth of field, however this will often dramatically slow down rendering and is irreversible.
ZDefocus — depth-driven blur from a Z channel; workhorse for many shows.pgBokeh (and similar) — more photographic bokeh shapes, blades, cat-eye, etc.If the plate is soft and your CG is razor-sharp at the same depth, the shot fails a tech check immediately.
Diffraction is a wave effect: light bends at hard edges (especially a small aperture). On image, you get a slight overall softening and characteristic rings/spikes on bright points when stopped down hard.
In practice on set:
For VFX:
Vignetting is caused by the physical dimensions of a multi-element lens. Rear elements are shaded by elements in front of them, which reduces the effective lens opening for off-axis light. The result is a gradual decrease in light intensity toward the image periphery.
So: corners go darker than the center — sometimes mildly, sometimes dramatically (wide open vintage glass, heavy matte box, wrong filter stack).
Illumination on the sensor also follows geometric falloff for off-axis rays. A common teaching approximation for natural light falloff toward the edge is related to:
\text{relative illumination} \propto \cos^{4}\theta
(where \theta is the angle off axis). People also remember that intensity from a point source falls with distance:
I \propto \frac{1}{d^{2}}
For a vignette in comp, you usually do not re-derive physics. You build a soft radial (or slightly oval / anamorphic) darkening that matches the plate:
Nuke: Grade with a radial mask, Vignette gizmos, or a soft circular ramp. Match by exposing up the plate and your comp — corner mismatch becomes obvious.
Lenses map the 3D world onto a flat sensor with geometric distortion. Straight lines may bow. Focal length, lens design, and zoom position all change the warp.
Most large facilities measure every show lens (or lens + zoom position) and publish distortion grids / STMaps. Tracking, layout, and paint all work in a known geometric space.
If you do not have a package:
LensDistortion — manual, grid-based, or line/point analysisType | Character | Where you see it |
|---|---|---|
Curvilinear | Straight lines bow (classic barrel/pincushion “fisheye-ish” behavior at extremes) | Most real photographic / cinema lenses have some residual curvilinear distortion |
Rectilinear | Designed to keep straight lines straight (wide rectilinear architecture lenses, many CG default cameras) | Idealized; CG cameras are often perfectly rectilinear until you add distortion |
Most live-action plates you get were shot on real glass with measurable distortion. A default CG camera is a perfect pinhole / rectilinear model until you tell it otherwise.
Apply lens distortion to CG (and full-CG packages) to match the plate — do not distort the plate to match undistorted CG as your default.
Typical flow:
If you warp the plate “because CG was straight,” you fight editorial, matchmove, and every other shot on the lens. Prefer CG → plate geometry.
Flares are internal reflections and scatter between lens elements, coatings, and the sensor stack. Bright sources (sun, practicals, speculars) kick ghosts, veils, and colored blobs along the optical axis.
The common production hammer in Nuke / After Effects is Optical Flares (Video Copilot). Shows also use proprietary tools, CG flare cards, or plate-shot practical flares.
Match:
A huge flare on a plate that has none (or the wrong shape) looks like a plugin demo, not a camera.
Fringing usually means a bright or colored halo along high-contrast edges — not always full longitudinal CA, but related.
Causes / looks:
In comp, mild edge fringing can help CG sit in a plate that already has it. Heavy fake fringing reads as a bad YouTube tutorial. Sample the plate at similar contrast edges and keep it subtle.
Chromatic aberration is wavelength-dependent focusing and magnification. Different colors do not land on the same sensor position → color fringes along edges (often cyan/magenta or red/blue).
Common where:
Reference overview: photographylife.com — What is chromatic aberration
Chromatic aberration is usually a late, subtle layer after defocus, not a substitute for good focus matching.
The matte box holds filters in front of the lens. Filters are part of the optical path, not a grade.
A pro-mist (or black pro-mist, pearlescent, etc.) softens speculars, lifts shadows slightly, and blooms highlights. Cinematographers use them for skin and “cinema” texture.
For VFX:
Other matte-box / filter looks: polarizers (sky/reflections), ND (exposure only, not a “look” by itself), streak filters, nets.
Grain should be among the final steps of any composite (often the last creative step before or after a delivery transform, per pipeline).
Why last:
See the Tech Check lesson for grain matching and a high-pass grain check. Link the interactive checklist: /tech-check.
Film grain ≠ digital noise, but the job is the same: match the plate’s frequency, amount, and channel balance.
Situation | Lensing goal |
|---|---|
CG into plate | Match this plate’s DOF, CA, vignette, grain, residual distortion, diffusion |
Full-CG shot | Invent a coherent lens package (focal length, stop, glass character) and apply it consistently across the sequence |
Mixed | Same lens model as neighboring live-action shots |
Full-CG without lensing looks like a render. Full-CG with random uncorrelated flares, grain, and distortion still looks like a render. One story for the lens.
Effect | Physical cause | Comp note |
|---|---|---|
Depth of field | Limited focus range + aperture | |
Diffraction / soft glass | Aperture & optics | Match softness; don’t oversharpen CG |
Vignette | Off-axis illumination / element shading | Radial exposure falloff |
Distortion | Lens mapping | Measure; redistort CG to plate |
Flare | Inter-element reflections | OpticalFlares / practicals; motivated |
Fringing | Edge halos / partial CA | Subtle; high contrast only |
Chromatic aberration | Wavelength-dependent optics | Split RGB; plate-match |
Pro-mist / filters | Matte box glass | Bloom + soften; match plate |
Grain | Film / sensor noise | Last step; match frequency |

Individually, each effect is a small lie. Together, they are how CG becomes photography.