---
id: "per-object-motion-blur"
title: "Plausible motion blur (reconstruction filter)"
aliases: [McGuire motion blur]
domain: "post"
stage: "post"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal]
year_introduced: 2012
inputs: [ldr-image, depth, gbuffer]
outputs: [ldr-image]
style: "photoreal"
dynamic: "dynamic"
cost: "medium"
authority: "McGuire et al., 2012"
url: "https://texelatlas.vercel.app/t/per-object-motion-blur/"
sources_verified_at: "2026-11-29"
---
# Plausible motion blur (reconstruction filter) (McGuire et al., 2012)

> Post-process motion blur that tiles the velocity buffer, picks the dominant velocity per neighbourhood, and gathers colour along it with depth-aware weights so moving objects blur over backgrounds and sharp silhouettes survive.

## Reach for it when

- fast movement looks choppy at 30 fps
- want film-like blur on moving objects
- blur smears sharp silhouettes over background
- need motion blur without rendering sub-frames

## How it works

The renderer outputs a per-pixel velocity buffer. A first pass reduces it into tiles holding the largest velocity vector in each tile, and a second pass spreads that to a 3x3 tile neighbourhood so each pixel knows the strongest velocity that could affect it. The gather then samples colour along that dominant direction. Each sample's weight depends on whether the sample's velocity and depth say it can cover the centre pixel, so a fast foreground object smears into the background but a static foreground does not get blurred by a moving background. A soft depth comparison avoids hard edges. Dithered sample offsets hide banding, and a light blur or temporal filter cleans the noise.

## When to use it

Choose it when you have accurate per-object velocity and want film-like blur on fast motion without rendering sub-frames.

Prefer camera-only blur reconstructed from depth when no velocity buffer exists. Pair with [Temporal Anti-Aliasing](https://texelatlas.vercel.app/t/temporal-anti-aliasing.md), which already requires the same velocity buffer.

## Cost

medium — Tile max pass, neighbour-max pass and a gather of roughly 8 to 16 taps; qualitative.
Measured GPU Weight: 3.09× baseline (light) — 0.1018 ms median / 0.108 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 2.5× baseline (light) — 0.0397 ms median (2.56× faster on L4).
Ampere A100 scaling: 1.98× baseline (feather) — 0.057 ms median (1.79× faster on A100).

## Failure modes

- Foreground objects do not blur over the background they occlude where that background is unknown
- Wrong or missing velocity on transparents and particles breaks the effect
- Sampling noise or banding at low tap counts
- Strobing appearance at very low frame rates where blur length is large

## Engine support

- babylonjs: builtin — `new BABYLON.MotionBlurPostProcess('mb', scene, 1.0, camera); isObjectBased = true` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/PostProcesses/motionBlurPostProcess.ts, checked 2026-12-01)
- blender: builtin — `Properties > Render > Motion Blur (Cycles and EEVEE)` (evidence: https://docs.blender.org/manual/en/5.2/render/eevee/render_settings/motion_blur.html, checked 2026-12-01)
- threejs: official — `import { motionBlur } from 'three/addons/tsl/display/MotionBlur.js'` (evidence: https://github.com/mrdoob/three.js/blob/r187/examples/jsm/tsl/display/MotionBlur.js, checked 2026-12-01) — Uses velocity buffer.
- unity: builtin — `Volume > Add Override > Post-processing > Motion Blur` (evidence: https://github.com/Unity-Technologies/Graphics/blob/557f6ac22b948284f57ffae6a789751fd1f63620/Packages/com.unity.render-pipelines.high-definition/Documentation~/Post-Processing-Motion-Blur.md, checked 2026-12-01) — Camera and per-object motion vectors; tile-based reconstruction in HDRP.
- unreal: builtin — `Post Process Volume > Lens > Motion Blur` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/post-process-effects-in-unreal-engine, checked 2026-12-01)

## Dataflow

- Inputs: ldr-image, depth, gbuffer
- Outputs: ldr-image
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal

## Presets

### Left: sharp frame. Right: gather along the dominant velocity (dilated around the moving disc) (glsl-fragment; rendered 2026-11-29)

```json
{
  "NT": 32
}
```

```glsl
float hash(vec2 c){uvec2 u=uvec2(ivec2(floor(c)));uint h=u.x*1597334673u^u.y*3812015801u;h^=h>>15;h*=2246822519u;h^=h>>13;h*=3266489917u;h^=h>>16;return float(h)*(1./4294967296.);}
float lum(vec3 c){return dot(c,vec3(.2126,.7152,.0722));}
vec3 gam(vec3 c){return pow(clamp(c,0.,1.),vec3(1./2.2));}

const vec2 VEL=vec2(0.17,0.045); // P
const int NT=32; // P
vec3 frame(vec2 p){
  vec3 c=mix(vec3(.85,.88,.8),vec3(.55,.65,.75),clamp(p.y+.5,0.,1.));
  c*=.75+.25*step(.5,fract(p.x*14.));
  vec2 o=p-vec2(-.04,-.02);float d=length(o)-.09;
  vec3 oc=mix(vec3(.9,.3,.2),vec3(1.,.85,.3),step(.5,fract((o.x+o.y)*40.)));
  return mix(c,oc*(.65+.5*clamp(.5-o.y*4.,0.,1.)),smoothstep(.002,-.002,d));}
bool isObj(vec2 p){return length(p-vec2(-.04,-.02))<.09;}
void mainImage(out vec4 fragColor,in vec2 fragCoord){
  vec2 uv=(fragCoord-.5*iResolution.xy)/iResolution.y;bool R=uv.x>0.;vec2 q=vec2(uv.x+(R?-.25:.25),uv.y);
  vec3 col=frame(q);
  if(R){bool near=false;
    for(int i=-4;i<=4;i++)if(isObj(q+VEL*float(i)/8.))near=true;
    if(near){vec3 acc=vec3(0.);
      for(int i=0;i<NT;i++){float t=(float(i)+.5)/float(NT)-.5;acc+=frame(q+VEL*t);}
      col=acc/float(NT);}}
  if(abs(uv.x)<.0015)col=vec3(1.);fragColor=vec4(gam(col),1.);
}
```

Attribution: written for this index

## Combines with

- [Temporal Anti-Aliasing](https://texelatlas.vercel.app/t/temporal-anti-aliasing.md): Both consume the same velocity buffer.

## Sources

1. [primary] Morgan McGuire, Padraic Hennessy, Michael Bukowski, Brian Osman (2012) A reconstruction filter for plausible motion blur. Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games. https://doi.org/10.1145/2159616.2159639 (verified via crossref on 2026-11-29)

## Cite this entry

Texel. "Plausible motion blur (reconstruction filter)." https://texelatlas.vercel.app/t/per-object-motion-blur/ (accessed 2026-12-01).
