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