src/js/libpannellum.js
function processNextTile(node) {
        loadTexture(node, encodeURI(node.path + '.' + image.extension), function(texture, loaded) {
            node.texture = texture;
            node.textureLoaded = loaded ? 2 : 1;
        }, globalParams.crossOrigin);
    }
function processNextTile(node) {
        loadTexture(node, encodeURI(node.path + '.' + image.extension), function(texture, loaded) {
            node.texture = texture;
            node.textureLoaded = loaded ? 2 : 1;
        }, globalParams.crossOrigin);
    }
Loads image and creates texture for a multires node / tile.
@private
@param {MultiresNode} node - Input node.