Move mipmap LOD calculation to vertex shader from fragment shader