1.上传图片
2.保存,并选择格式(png和hdr),分布方式以及图片尺寸
3.下载使用
import { RGBELoader } from "three/examples/jsm/loaders/RGBELoader";
let rgbeLoader = new RGBELoader();
rgbeLoader.load("/textures/sky.hdr", (texture) => {
texture.mapping = THREE.EquirectangularReflectionMapping;
scene.background = texture;
scene.environment = texture;
});