Game dev
Saved & recent

Motion vectors

Related terms: velocity buffer, motion blur, temporal accumulation

A texture of small arrows describing how visible surfaces move across the screen from one frame to the next. Camera movement can shift the whole view; moving objects and animated meshes need their own motion information. These are screen-space movements, not simply an object’s world-space velocity.

Effects use the arrows to find corresponding image samples in another frame. That helps temporal anti-aliasing, some forms of upscaling and motion blur. Missing or incorrect vectors can produce trails or unstable edges. Newly revealed surfaces still need special handling because the previous frame may not contain them.

Further reading
Unity: motion vector generation
previous frame current frame motion vectors stationary point
With a fixed camera, the rotor turns 40°. Purple arrows use current minus previous screen position: tails mark previous positions and heads mark current ones. Only blade points visible in both frames are shown. The gold tower point has zero motion.

View in the full Game dev collection