Compositor
The Compositor is a node compositor inside Kitlig, in the spirit of Nuke and Fusion. You build a comp as a graph of nodes, and Kitlig works it out on your graphics card in floating point, so EXR plates keep their highlights, depth stays in real units, and nothing bands until the picture leaves Kitlig.
Open it from Video ▸ Timeline view ▸ Compositor, or from the Compositor button on the Sequences page. To composite a shot that is already in your edit, right-click the clip and choose Open in Compositor.
Comps
The Compositor opens on your comps. This project holds the comps that travel with the project; All projects is your own library, for comps you want everywhere (handy for tools you build once). Hover a comp to duplicate it, move it between the two, export it as a .kitligcomp file, or delete it. Import .kitligcomp… brings one in.
A new comp starts with a single Comp Out node: whatever you wire into it is the comp's result.
The layout
- Two viewers across the top. Select a node and press 1 to show it in the left viewer, 2 for the right one. Press the same number again, with the node already showing there, to clear that viewer. Small numbered tags on a node tell you which viewer is showing it. Double-click a node to show it in the viewer you used last.
- Node info: middle-click a node to see what it last made: its layers with their size and bit depth, the GPU memory it holds, whether it was worked out or came from the cache, how long it took, and the layers that reached its inputs. Middle-drag still pans the graph. Esc or a click elsewhere closes it.
- The node graph below them.
- Node, Inputs and Comp tabs on the right: the selected node's settings, the comp's inputs, and the comp's format, frame rate, frame range and working colour space.
- The comp's timeline along the bottom: play, step with the arrow keys, scrub, and pick Full, ½ or ¼ resolution while you work.
Your changes save by themselves a moment after you make them.
Adding and wiring nodes
The buttons beside Add node add the nodes used most (Read, Merge, Transform, Grade, Blur, Roto, Grid Pin, GLSL) in one click: after the selected node and wired to it, or in the middle of the view.
Press Tab (or Shift+A, or Add node) and start typing; Enter adds the top match. If a node is selected, the new one is wired after it: when that node already feeds a wire, the new node goes into the wire, and the nodes after it move along to make room. You can also drag a picture or video from your project onto the graph to get a Read node for it.
Drag from a node's output (right side) to an input (left side) to wire it. Kitlig won't let you make a loop. Inputs follow Nuke's habits: on a Merge, B is the background and A goes on top. Most nodes also have a Mask input and a Mix setting, so you can limit or fade their effect.
| Keys | What they do |
|---|---|
| 1 / 2 | Show the selected node in the left / right viewer |
| Tab, Shift+A | Add a node |
| D | Turn the selected nodes off and on |
| Delete | Delete them (the wire through a deleted node is kept) |
| Ctrl+D, Ctrl+C, Ctrl+V | Duplicate, copy, paste |
| Ctrl+Alt+G | Create Comp From Nodes |
| Ctrl+Shift+G | Expand a Comp node |
| F | Fit the graph (in a viewer: fit the picture) |
| Space, ← → | Play, step a frame |
| Ctrl+Z, Ctrl+Y | Undo, redo |
The viewers
Each viewer has its own layer, channel (RGB, red, green, blue, alpha or luminance), exposure and gamma. Exposure and gamma only change what you see, never the picture itself. Scroll to zoom where the pointer is, middle-drag or Alt-drag to pan, and press F to fit. Along the bottom, the viewer reads out the real float values under the pointer, with depth when there is a depth layer.
Every colour setting has an eyedropper beside it. Click it, then click the viewer (or drag a box to average an area): it samples the picture coming into the node, so a Keyer picks the green from the plate, not from its own result. Esc cancels.
Click a colour's swatch to open the colour picker. The Alpha strip under it sets the colour's transparency; the swatch shows the colour on its left half and with its alpha on the right. The four boxes beside the swatch are the exact red, green, blue and alpha values, and they can go above 1 for bright light.
Settings that tint or scale a picture are colour wheels, like the timeline's Color panel: a Grade's Lift, Gamma, Gain, Offset and Multiply, and Color Correct's gamma, gain and offset for the whole picture and for shadows, midtones and highlights. Drag the dot toward a colour to tint, and use the slider under a wheel to make it brighter or darker. Double-click a wheel to reset it. The three boxes under each wheel are the exact red, green and blue, and you can type values past what the wheel reaches. Wheels key, link and take expressions like any other setting.
Nodes with on-screen places, such as a Ramp's start and end, a Transform's centre or a Corner Pin's corners, show handles you can drag in the viewer.
Reading footage and EXRs
A Read node reads either a project asset, or files on disk where they are. For an EXR render, click Choose files… and pick any one frame: Kitlig finds the numbered sequence around it (shot_####.exr) and reads it straight from that folder, without copying anything into your project. The first Read in a comp also sets the comp's size, frame rate and length to match.
EXRs come in with all their layers. Multi-part files, like the ones Blender writes, are merged: the beauty becomes the main picture, a depth layer is also available as depth, and Cryptomatte layers come along for the Cryptomatte node. Pick any layer in a viewer's layer menu to look at it.
Each Read has an input colour space. Auto treats EXRs as linear and everything else as sRGB.
Depth and Cryptomatte
- Depth Key makes a matte from a range of depth. Turn on Show the depth to see the depth layer as greys (near is light), with what the key keeps tinted green. To set the range from the picture, press Pick near or Pick far and click the viewer, or Pick range and drag a box over what to keep: Near and Far become the nearest and furthest depth inside it. Z Defocus blurs by depth around a focal plane (press Pick focus and click what should be sharp), Depth Fog adds haze with distance (Pick fog start and Pick fog end: click where the haze begins and where it is full), and Z Merge puts two pictures together by whichever is nearer.
- Depth comes in two kinds. Renders store distance (small numbers are near). AI depth maps such as Depth Anything are brighter when nearer. Each depth node has a Depth type setting for this. A Read of an AI depth map should use the input colour space Raw (no conversion): the map is data, not colour. With a Relative map, the picks also set a small softness, since the map only runs from 0 to 1.
- Cryptomatte: select the node and click objects in the viewer. Shift-click adds an object, Ctrl-click removes one. You can also type names, or use wildcards such as
Eye*. Set Output to Preview colours to see every ID.
Roto
The Roto node draws mattes in the viewer. Pick a tool in its settings:
- Rectangle and Ellipse: drag out a shape.
- Pen: click points, then click the first point (or press Enter) to close the shape.
- Freehand: draw a stroke. Kitlig turns it into an editable curve.
- Select: drag shapes, or drag a curve's points and handles.
Each shape has its own mode (add, subtract, intersect, difference), feather and opacity. To animate, move to a frame and press Key shapes here. After that, moving a shape keys it at the playhead. The arrows jump between keys. Rectangle and Ellipse nodes are quick single-shape mattes with soft edges.
Pinning onto screens
Corner Pin puts a picture's four corners on four points. For a screen that folds round a building corner, or one that curves, use Grid Pin:
- It starts with four points, like a Corner Pin. A screen that wraps round one corner needs three columns and two rows: six points.
- To add points where you want them, click a grid line in the viewer (or right-click inside the grid) and choose Add column here or Add row here. The new points land on the picture exactly where you clicked, so nothing moves until you drag them. Add column and Add row in the node's settings add one through the middle of the widest gap instead.
- To delete, right-click a point and choose Delete this column or Delete this row. Deleting an outer one pins the picture's edge on the next line in.
- Drag each point onto the screen in the viewer. Each cell between points gets its own perspective, so a flat face of the screen stays flat.
- Column at and Row at set where an inner line of points falls across the picture. For a corner screen, set it to where the fold falls in your artwork, for example 0.8 if the front face takes the first 80% of the width.
- Right-click a point to make it a Corner or Smooth point. A Corner (drawn as a square) is a sharp point with straight edges. A Smooth point (a circle) has blue handles: drag them to bend the edges through it, for a curved screen.
- Pinning a comp of another shape, such as a wide sign comp inside a photo comp, pins the sign's whole picture. A comp node draws its comp at that comp's own size and fits it into your frame (its Fit setting). The pins use the comp's own picture, not the empty bars round it.
- Invert does the opposite. It flattens a screen in the footage back into a rectangle, so you can paint on it and pin it back.
- Points can be keyframed like any other setting, for footage where the camera moves.
- To make the pins follow a moving surface, track it first with a planar tracker in Tracking mode. Then, in the Corner Pin or Grid Pin settings, pick the track under Follow a planar track. Place the points on one frame and press This frame; on every other frame they move with the tracked surface. If the track starts somewhere other than the comp's first frame, set Track offset.
GLSL
The GLSL node runs your own shader: write a Shadertoy-style mainImage. Each uniform line becomes part of the node:
uniform sampler2D plate;adds an input pin called plate.uniform float amount; // 0.5 0..2adds a setting, starting at 0.5 with a slider from 0 to 2.vec2uniforms are points you drag in the viewer,vec3are colours (// #ff8800sets the colour), andintandboolwork too.
To use a shader you made in Dev ▸ Shaders, pick it under Load a shader from Dev ▸ Shaders. Its code and inputs are copied onto the node: its texture inputs become pins and its numbers, colours and points become settings. 3D models, text, sound and code inputs aren't wired in a comp.
Faces
The Face nodes work from the face mesh, 478 points that follow the eyes, brows, nose, mouth and jaw:
- Face Track finds faces on its input and passes them down with the picture. Press Track faces to track the whole range once: each face is followed from frame to frame and short gaps are filled. Smoothing steadies the points; turn it down if fast moves lag. Without a track it looks for faces on each frame as it's shown. Turn on Draw the mesh to check the points.
- Face Mask makes a matte from the tracked face: the whole face, the skin without the eyes, brows and mouth, or only the eyes, brows, lips or the inside of the mouth. Grow and Feather shape the edge.
- Face Replace puts the face on A onto the face on B. Run both through a Face Track first. The face follows B's expression and head moves point for point, takes on B's colour (Match colour) and blends in at the edge. Keep B's mouth and Keep B's eyes leave those showing through.
- Face Double puts a Digital Double (pick one in its settings, or use the plain CG head) on the tracked face on B. Every frame its head is posed to the face, and its brows, eyes and mouth follow the face's expression. Set Camera angle to roughly the lens the footage was shot with. Output lays it over B, gives the head alone, or a matte. Make doubles in Digital Double mode.
- Face Unwrap lays the face out the same way on every frame, as it was on the Face Track's Reference frame. Paint a fix once on the unwrapped face (a blemish, a tattoo, a logo) and Face Rewrap puts it back onto the moving face.
Faces seen side on or from behind aren't found. A face that turns a long way looks best done with the AI character replace operations instead.
Keyframes
Any number, point or colour setting with a diamond next to it can be animated. Click the diamond to add a key at the playhead. Once a setting has keys, changing it on another frame adds a key there. Keys show as diamonds on the comp timeline. Right-click a setting's name to clear its keys.
Press Keys beside the comp timeline to see every keyframe in the comp, one lane per animated setting, grouped by node. Tick Selected nodes to see only the nodes selected in the graph. The panel has three views: Lanes, Graph and Time.
- Click a key to select it. Shift-click or Ctrl-click adds keys; drag across empty lanes to box-select. Click a lane's name to select all its keys.
- Drag selected keys to move them in time.
- The panel on the right shows the selected key's frame, value and easing, and you can change them there. With several keys selected, the easing applies to all of them. Hold keeps a key's value until the next key.
-
Delete removes the selected keys. Ctrl+C copies them, and Ctrl+V pastes them at the playhead, keeping their spacing. They go onto the nodes selected in the graph, so you can copy keys from one node to another, or back onto the nodes they came from. Ctrl+A selects every key.
-
Right-click a key to set its interpolation, or to copy, paste or delete. Easing works at the key, on both sides of it: Ease in slows the motion arriving at the key, Ease out slows it leaving, Ease in and out does both, and Linear straightens both. So easing the last key of a move softens how it lands. Hold keeps the key's value until the next key.
Graph shows the curves themselves, one per axis (a point's X and Y are separate curves):
- Drag a key to change its frame and value; hold Shift to move it one way only. Select a key to see its curve handles, and drag a handle to shape the curve into or out of it.
- Click a curve's name on the left to show or hide it. Show all, Hide all and Selected (the selected keys' curves only) are at the top.
- Fit all (F) frames every shown curve; Fit selection frames the selected keys. The mouse wheel zooms in time, Shift+wheel zooms the values, Ctrl+wheel zooms both, and a middle or Alt drag pans.
- To clean up a motion, select keys and press Smooth (each moves halfway to its neighbours' average) or Simplify (removes keys the curve passes close to anyway).
Time shows each node that shifts time (Read, Read Kitlig Asset, Comp and Time Offset) as a bar where its source lands. Drag a bar to slide the node: its frame offset changes by the frames it moved.
The comp timeline and the Keys panel show frame numbers along the top. Step a frame with the arrow buttons beside play, the arrow keys, , and ., or Page Up and Page Down. While caching, the bar under the timeline shows frames waiting in grey, rendering in yellow and cached in green.
Cache works out every frame of the range in the background. Frames sit on the graphics card first; when that fills up, the frames you are looking at move to system RAM rather than being thrown away, so a cached range stays cached. After a change, only the nodes after the change are worked out again: frames from before the change are dropped first, so the upstream frames stay ready. Full, ½ and ¼ work at lower resolution, each with its own cache. The status bar shows how much the Compositor holds, and Settings ▸ Colour ▸ Compositor memory sets the limits.
Tracking in a comp
- In Tracking mode, Send to Compositor (under Export) makes a comp from a track: its frames, and a Tracker node holding the track as nulls (each tracked point, and a planar track's corners and centre). You can also add a Tracker node yourself and pick a track in its settings.
- Select the Tracker node to see its nulls in the viewer.
- To make something follow a null, put a Transform after it and pick the Tracker and the null under Parent to a tracker null. Pick a second null to turn and scale with them too. Place the picture on one frame and press This frame.
- Stabilize takes a null's motion out of the picture. Smooth the shake keeps the camera's move and removes the jitter (Smoothing sets how many frames it averages over); Lock to the reference frame holds the picture still. Max shift limits how far a frame is pushed, and Zoom hides the edges that move into view.
Inputs: comps as tools
A comp can offer inputs: knobs and pictures that whoever uses the comp can set.
- Right-click any setting ▸ Expose as comp input. The input takes that setting's type, range and current value. Link to comp input connects more settings to the same input. A linked setting shows the input's name instead of a control.
- Pictures: right-click a node ▸ Make image input for… puts a Comp Input node in front of it.
- The Inputs tab lists them. Here you can rename them, change their order, set defaults and ranges, and see what each one drives.
- In an Expression node, inputs are readable as
$name.
Create Comp From Nodes
Select some nodes and press Ctrl+Alt+G (or right-click ▸ Create Comp From Nodes). The nodes move into a new comp and a Comp node takes their place, wired exactly as before, so the picture doesn't change:
- Wires coming into the selection become the new comp's image inputs.
- Each node that fed the rest of the graph gets its own Comp Out, so the new Comp node has one output pin for each.
- Settings that were linked to this comp's inputs stay linked through the new Comp node.
A comp can have more than one output. Add another Comp Out inside it and every Comp node using that comp grows a second output pin, named after the Comp Out's title (rename it to name the pin). The first Comp Out is the main output: it's what the comp shows on the timeline and what a Comp node shows in a viewer. Delete a Comp Out and any wire from its pin stops with an error on the node.
Double-click a Comp node to go inside; the path at the top leads back. Expand Comp puts the nodes back. Make unique gives this Comp node its own copy to change. Comps you mark as tools sit at the top of the add-node list.
Comps on the timeline
- Open in Compositor on a footage clip turns it into a comp clip. Its footage becomes the comp's Read node, timed so the picture lines up exactly, and the Compositor opens on it.
- A comp with several Comp Outs: select the one you want and press Make this the main output. It becomes the plain output pin on Comp nodes and what a comp clip shows.
- Media Bin ▸ Comps lists your sequences and comps. Drag one onto a video lane to place it where you drop it, or below the lanes to put it on a new lane. The + on each adds it at the playhead.
- Add to timeline (in the Compositor's top bar) places the open comp on the open sequence at the playhead.
A comp clip plays live in the Edit player. The Clip panel's Comp section sets that clip's values for the comp's inputs, so one comp can serve many shots with different settings. Trimming a comp clip moves through the comp like trimming footage. When you export, Kitlig draws the comp clip's frames at the export size and rate. It only draws them again when the comp, its inputs or the clip change.
Rendering
A Write node renders what feeds it, and adds the result to your project:
- OpenEXR sequence: every layer, half or full float, with Cryptomatte kept.
- PNG sequence.
- Video: H.264, or VP9 when you need transparency.
Set the frame range and press Render.
Nodes
Press Tab to see them all with a line on what each does. In short:
- Input/Output: Read, Timeline In, Comp Input, Comp, Comp Out, Write, Constant, Checkerboard, Colour Bars, Ramp, Noise, Text, Shader (your own GLSL).
- Channel: Shuffle, Copy, Remove Layers, Premult, Unpremult, Set Alpha, Invert.
- Merge: Merge (over, plus, multiply, screen and 25 more), Dissolve, Keymix, Switch, Z Merge.
- Colour: Grade, Color Correct, Exposure, Saturation, Hue Shift, Levels, White Balance, Clamp, Colorspace, LUT (.cube), Posterize, Log2Lin.
- Keying: Keyer (green or blue screen with despill), Luma Key, HSV Key, Difference Key, Despill, Matte Control, Light Wrap, Edge Extend, Cryptomatte, Depth Key.
- Filter: Blur, Directional Blur, Radial Blur, Defocus, Sharpen, Glow, Erode / Dilate, Median, Edge Detect, Grain, Chromatic Aberration, Vignette, Lens Distortion, Convolve, GLSL.
- Transform: Transform (with motion blur), Crop, Reformat, Flip / Flop, Position, Corner Pin, Grid Pin, Tracker, Stabilize, STMap, IDistort / Displace.
- Time: Time Offset, Frame Hold, Stop Motion, Frame Range, Frame Blend. Stop Motion holds each pose for a few frames (2 for on twos, 3 for threes). Uneven holds lets some poses hold longer at random, as when animating by hand. Nudge per pose, Turn per pose and Exposure flicker give each pose a small knock and a change in brightness. Every layer moves together, so depth and mattes stay lined up. Change Seed for a different pattern.
- Roto: Roto, Rectangle, Ellipse.
- Face: Face Track, Face Mask, Face Replace, Face Double, Face Unwrap, Face Rewrap.
- Depth: Z Defocus, Depth Fog, Depth Normalize.
- Utility: Dot, Expression, Backdrop, Note.
Plugins can add their own nodes too. They appear under their category, or under Plugins.
Asking an agent
Agents connected to Kitlig can build and run comps:
- Read and build: list the node types, create comps, add and wire nodes, set and key settings, and expose inputs.
- See and render: look at a frame and render a comp.
- Timeline: open a clip in the Compositor, or place a comp on a sequence.