processMaterials = function ( materialCreator ) {
			var materialCreatorMaterials = [];
			if ( THREE.LoaderSupport.Validator.isValid( materialCreator ) ) {

				materialCreator.preload();
				materialCreatorMaterials = materialCreator.materials;
				for ( var materialName in materialCreatorMaterials ) {

					if ( materialCreatorMaterials.hasOwnProperty( materialName ) ) {

						materials[ materialName ] = materialCreatorMaterials[ materialName ];

					}
				}
			}

			if ( THREE.LoaderSupport.Validator.isValid( resource ) && scope.logging.enabled ) console.timeEnd( 'Loading MTL: ' + resource.name );
			onLoad( materials, materialCreator );
		}
Utility method for loading an mtl file according resource description. Provide url or content.

@param {string} url URL to the file
@param {Object} content The file content as arraybuffer or text
@param {function} onLoad Callback to be called after successful load
@param {callback} [onProgress] A function to be called while the loading is in progress. The argument will be the XMLHttpRequest instance, which contains total and Integer bytes.
@param {callback} [onError] A function to be called if an error occurs during loading. The function receives the error as an argument.
@param {string} [crossOrigin] CORS value
@param {Object} [materialOptions] Set material loading options for MTLLoader