Style BibleGitHub

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 whenAn 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 toIt happens on every cut

The kinds of effect

KindExamplesWhere it is doneLevel
Clean-upRemove a wire, a mark, a sign, a boom; fix a blink; steady a shaky shotAny editor; paint and patch, AI remove toolsFirst video
SpeedSpeed ramp, slow motion, freeze frame, reverseAny editorFirst video
Text in the worldA label stuck to a moving object, a title on a wallTracking in the editor or compositorGetting good
Screen insertA phone or monitor showing your appCorner-pin trackingGetting good
KeyingGreen or blue screen behind a personKeyer, then edges, spill, lightGetting good
Sky and setA new sky, a sign in a street, an extended buildingMask, track, matte paintingGetting good
AtmosphereDust, rain, snow, smoke, fog, sparks, embersParticles, stock elements on black, or drawn in codeGetting good
LightGlow, lens flare, light rays, a muzzle flash, a lamp flickerCompositor, or finish.mjs --finish glowGetting good
GraphicsArrows, maps, callouts, diagrams over the shotMotion graphics tools, or code (kit.js)Getting good
3D in the shotAn object, a creature, a vehicle in real footageCamera tracking plus 3D (Blender), lit to matchPro
AI insertsA shot made by an image or video model, an AI-filled backgroundA model, then grade and matchAny, with care
Screen finishFilm grain, print, VHS, CRT, pixelfinish.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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Focus and depth. As sharp or as soft as things at the same distance. Far things are hazier and lower in contrast (atmosphere).
  6. 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.
  7. 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.
  8. 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

Tracking

Effects in code-made films

A code film draws its own effects, and they should be made of the same marks as the style:

Effects from AI tools

Planning effects

  1. Mark every effect in the storyboard's shot list (board.mjs makes the list): what it is and why.
  2. 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.
  3. Keep the number of effect shots small and the time per shot honest. One great effect beats ten weak ones.
  4. Make a rough version first (a block that moves right), then the finished one.
  5. Grade the effect shots with the rest, never alone.

No slop in effects

Check before export

  1. Every effect has a reason you can say in one line.
  2. Play every effect shot at full speed, then frame by frame: no sliding tracks, no edges, no flicker.
  3. The effect shot matches the shots on both sides (grade.mjs --check).
  4. Grain and blur match the plate.
  5. 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.

Browse the styles