Texture init now only creates required number of mipmap levels.