赞
踩
if (obj.isMesh) {
let tMaterial = new THREE.MeshBasicMaterial({})
tMaterial.copy(obj.material)
obj.material=tMaterial;
obj.castShadow = true; //投射阴影
obj.receiveShadow = true; //接受阴影;
}