pixelate shader?
its a 2d filter but i think cam be set per material (replacing its fragment shader).