For future readers, it’s also fairly easy to add the environment map after loading the model, e.g. if you want the same model to have a different environment map in different contexts.
// Load envMap.
var textureLoader = new THREE.TextureLoader();
var texture = textureLoader.load('/path/to/env.jpg');
// Load model.
modelLoader.load('/path/to/model.foo', (object) => {
// Apply envMap to model.
object.traverse((node) => {
if (node.isMesh) node.material.envMap = texture;
});
});