VFX guide
Visual effects are anything added to the picture after it was shot or drawn: a sign removed, a sky replaced, a label that sticks to a moving object, snow, a glow, a screen put into a phone, a whole creature. The best effects are the ones nobody notices. The worst are the ones added because they were easy. This guide covers what to use, how to make it sit in the shot, and how to plan it, at three levels.
node scripts/finish.mjs film.mp4 out.mp4 --finish grain # a finish over the whole film: grain, film, print, vhs, crt, glow, pixel... node scripts/grade.mjs --check comp.mp4 # the effect shot must match the shots around it node scripts/grade.mjs comp.mp4 comp-matched.mp4 --match plate.mp4
First question: does the story need it?
| An effect is right when | An effect is wrong when |
|---|---|
| It shows something the camera could not (inside a body, a past city, a thought) | It decorates a shot that already works |
| It removes something that breaks the spell (a microphone, a crew reflection, a logo you cannot show) | It is there because the preset was there |
| It points at the one thing to look at (a label, an arrow, a circle) | It points at everything at once |
| It sells a moment the script built up to | It happens on every cut |
The kinds of effect
| Kind | Examples | Where it is done | Level |
|---|---|---|---|
| Clean-up | Remove a wire, a mark, a sign, a boom; fix a blink; steady a shaky shot | Any editor; paint and patch, AI remove tools | First video |
| Speed | Speed ramp, slow motion, freeze frame, reverse | Any editor | First video |
| Text in the world | A label stuck to a moving object, a title on a wall | Tracking in the editor or compositor | Getting good |
| Screen insert | A phone or monitor showing your app | Corner-pin tracking | Getting good |
| Keying | Green or blue screen behind a person | Keyer, then edges, spill, light | Getting good |
| Sky and set | A new sky, a sign in a street, an extended building | Mask, track, matte painting | Getting good |
| Atmosphere | Dust, rain, snow, smoke, fog, sparks, embers | Particles, stock elements on black, or drawn in code | Getting good |
| Light | Glow, lens flare, light rays, a muzzle flash, a lamp flicker | Compositor, or finish.mjs --finish glow | Getting good |
| Graphics | Arrows, maps, callouts, diagrams over the shot | Motion graphics tools, or code (kit.js) | Getting good |
| 3D in the shot | An object, a creature, a vehicle in real footage | Camera tracking plus 3D (Blender), lit to match | Pro |
| AI inserts | A shot made by an image or video model, an AI-filled background | A model, then grade and match | Any, with care |
| Screen finish | Film grain, print, VHS, CRT, pixel | finish.mjs --finish <name> | First video |
Making an effect sit in the shot
An effect looks fake when one of these does not match the plate (the shot it goes into). Check all eight, in this order:
- Perspective and scale. The horizon, the vanishing lines and the size of things agree. A person added to a street is as tall as the people already in it at that distance.
- Light direction. The added thing is lit from the same side, as hard or as soft, as the plate. This is the first thing the eye catches.
- Shadows and contact. Everything that touches the ground has a dark contact shadow where it meets it, and a cast shadow the same direction and softness as the others.
- Colour and levels. Its blacks are as black as the plate's blacks, its brightest point no brighter than the plate's, its colour cast the same. Use
grade.mjs --match. - Focus and depth. As sharp or as soft as things at the same distance. Far things are hazier and lower in contrast (atmosphere).
- Motion and blur. It moves with the camera (tracked, never floating), and it has the same motion blur as the plate at the same speed.
- Grain and noise. Clean computer pixels on a grainy shot stand out at once. Add matching grain over the effect, or over the whole frame.
- Edges. No bright or dark halo, no green fringe from a key, no razor edge on hair. Soften the edge a pixel and let the background light wrap around it.
Keying a green screen
- Light the screen evenly and the person apart from it; keep them two metres or more in front so no green light spills on them.
- No green clothes, no shiny jewellery, and a faster shutter for less motion blur on hands and hair.
- Shoot a frame of the empty screen, and a photo of the real background's light if you know it.
- After the key: fix the edges, take out the green spill, then light and grade the person to the new background.
Tracking
- Track something with high contrast that stays in view (a corner, a mark). Put small marks on a plain wall or phone screen while shooting if you plan an insert.
- Check the track by playing it, not by looking at one frame. A label that slides even a little looks broken.
Effects in code-made films
A code film draws its own effects, and they should be made of the same marks as the style:
- Atmosphere from the kit's
hash: each snowflake, spark or dust speck is placed and moved by a number, so every render is the same. Theanime.htmlexample's snow is a short loop. - Glow with
globalCompositeOperation = 'lighter', on lamps and screens only, never on everything. - Weather and light belong in the palette and the drawing, not a filter on top: a storm is darker paper and slanted marks, not a blur.
- Screen finish at the end with
finish.mjs --finish(grain, paper, print, film, mono, silent, vhs, crt, pixel, glow): the one place a filter on the whole film is right, because it imitates the medium.
Effects from AI tools
- Remove and fill (an object, a sign, a person in the background): check every frame, AI fills shimmer and change between frames.
- AI video shots inserted into real footage: match grade, grain and frame rate (
finish.mjssteps them to the style's rate), and keep them short. Note what the model did wrong and fix it before showing anyone. - Upscaling and frame interpolation cannot add real detail; they invent it. Do not use them on faces you need to trust, or on archive footage you present as real.
- Say so where the platform asks when a realistic shot was made or changed by AI.
Planning effects
- Mark every effect in the storyboard's shot list (
board.mjsmakes the list): what it is and why. - Shoot for the effect: a locked or tracked camera, a clean plate (the shot with nothing in it), reference photos of the light, marks for tracking.
- Keep the number of effect shots small and the time per shot honest. One great effect beats ten weak ones.
- Make a rough version first (a block that moves right), then the finished one.
- Grade the effect shots with the rest, never alone.
No slop in effects
- No lens flares, light leaks or glitch transitions on every cut.
- No particles floating over everything to make it "cinematic".
- No glow on every edge, no neon outline on a person, no sparkle when text appears.
- No sky replaced with a sunset that lights nothing in the shot.
- No floating label that slides off what it labels.
- No green fringe, no halo, no clean pixels on a grainy shot.
- No AI fill that shimmers, no extra fingers, no melting background in an AI insert.
- No effect from the same free pack everyone uses, unchanged.
Check before export
- Every effect has a reason you can say in one line.
- Play every effect shot at full speed, then frame by frame: no sliding tracks, no edges, no flicker.
- The effect shot matches the shots on both sides (
grade.mjs --check). - Grain and blur match the plate.
- Watch on a phone: the effect still reads, and nothing distracts from the subject.
Levels
First video. Clean-up, a speed ramp or a freeze, one label or arrow placed by hand, and a finish (finish.mjs --finish grain) that suits the style. Use the editor you already have.
Getting good. Tracking text and screen inserts, a clean green-screen key, atmosphere elements on black placed in the shot, sky replacement with the light matched. Check the eight matches every time. Free tools: DaVinci Resolve (Fusion page), Blender's compositor, CapCut for simple tracking.
Pro. Camera tracking and 3D objects lit with a photo of the set's light, roto by hand where AI fails, a node compositor (Fusion, Nuke, After Effects), plates and clean plates planned on set, and every effect shot reviewed frame by frame against the shots around it.