Can now pass MIP flag to shader.
Implemented MIP in the shader