Added mipmapping and anisotropy support.