For a post effect there is an open PR here, you could grab the file and see how it works:
For a non post effect way on a pixelate effect check this post: