- 设置透明背景
var r = new THREE.WebGLRenderer({alpha:true}); r.setClearColor(0x000000,0);
- 设置透明材质
new THREE.MeshBasicMaterial({ transparent: true, opacity: 0 }));
var r = new THREE.WebGLRenderer({alpha:true}); r.setClearColor(0x000000,0);
new THREE.MeshBasicMaterial({ transparent: true, opacity: 0 }));