optical flow as unreal post process material?

This thread has an attempt. It was using motion vectors which can be directly sampled by the post process materials.