protected int limitMips(int nbMipMaps, int baseW, int baseH, RenderManager rm) {
        if (nbMipMaps > 6) {
            nbMipMaps = 6;
        }
        return nbMipMaps;
    }
Ends pulling the data into the texture

@param tx
           the texture to pull into
jme3-core/src/main/java/com/jme3/environment/baker/GenericEnvBaker.java