If I only add mesh that requires a mirror in the scene, the display effect is normal, but if I add the entire model to the scene, it seems to be broken!
loader.load(su7,(e)=>{
let obj=e.scene
let face=obj.getObjectByName("Object_18")
let cubeRenderTarget = new THREE.WebGLCubeRenderTarget( 256 );
cubeRenderTarget.texture.type = THREE.FloatType;
this.cubeCamera = new THREE.CubeCamera( 0.1, 1000, cubeRenderTarget );
face.material=new THREE.MeshStandardMaterial({
envMap: cubeRenderTarget.texture,
roughness: 0.05,
metalness: 1
})
this.scene.add(face)
// this.scene.add(obj)
})