improve texture mipmap count GL_TEXTURE_MAX_LEVEL set how many mipmaps should be allocated, but all of them must be created. GL_TEXTURE_MAX_LOD set how many mipmaps may be used.