enable mipmapping for textures from images