Removing mipmaps with glsl instead of python

pixelate shader?

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