我正在尝试使用两个或更多点云,但它只是不起作用 - 有colr /透明度工件。请问如何解决?
到目前为止我的代码看起来像这样:
var geometry = new THREE.Geometry ();
...
var material = new THREE.PointCloudMaterial ({
var material = new THREE.PointCloudMaterial ({
size: 60,
//size: 20, sizeAttenuation: false,
map: texture,
vertexColors: THREE.VertexColors, transparent: true
});
var particles = new THREE.PointCloud (geometry, material);
particles.sortParticles = true;
上试一试