Is there a way to "Pixilate" a material without using a texture?

I was just curious.