// 创建镜子
var mirrorGeometry = new THREE.PlaneGeometry(10, 10);
var mirror = new THREE.Reflector(mirrorGeometry, {
clipBias: 0.003,
textureWidth: window.innerWidth * window.devicePixelRatio,
textureHeight: window.innerHeight * window.devicePixelRatio,
color: 0x888888,
}
);
mirror.position.set(0, 0, -5);
// mirror.rotateX(-Math.PI / 2);
scene.add(mirror);
没有回复内容