Shading Motion: Using motion as input for WebGPU compute shaders

DavidKPiano · x · 2026-08-18

Maxime Heckel's latest post explores using motion within a scene as a new creative input medium for shaders, moving beyond spatial image processing. Using WebGPU compute shaders, the author builds a pipeline to extract motion via frame differencing, encoding it into masks and velocity maps. This enables effects like trails, blob tracking, directional effects, and motion blur, detailing the technical implementation and challenges involved.

Original post →

More from Research

Research channel →