Mimaps is empty and shader textureLod does not work?


I set texture.generateMipmaps=true and texture.needsUpdate=true, but mipmaps=[] is empty. And in fragment shader textureLod does not work? How to sample mipmap level in shader?