

Some platforms, like WebGL, do not support this at the time of writing, though it may be possible to write your own motion vector system. Unity’s internal motion vectors only work on some platforms, and will require RG16-format (or RGHalf) rendertextures to be working on the target platform to render.

It’s quite an interesting technique, and it’s fun to try reproducing the artifacts produced by it. Datamoshing refers to the artifacts produced by modern digital video compression techniques, where small motion vectors control displacement of blocks of pixels instead of sampling a fresh frame on every single frame. This tutorial is going to be about creating your own datamosh-like shader, and will be going over two very useful techniques for Unity shader effects: motion vectors & pixel recycling.
