📜  立方体摄像头三个js - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:59.743000             🧑  作者: Mango

代码示例1
const cubeRenderTarget = new THREE.WebGLCubeRenderTarget( 128, { format: THREE.RGBFormat, generateMipmaps: true, minFilter: THREE.LinearMipmapLinearFilter } );

// Create cube camera
const cubeCamera = new THREE.CubeCamera( 1, 100000, cubeRenderTarget );
scene.add( cubeCamera );