为什么在three.js中使用两个点云时会出现伪影?

时间:2014-08-01 17:42:42

标签: three.js

我正在尝试使用两个或更多点云,但它只是不起作用 - 有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;

jsbin

上试一试

0 个答案:

没有答案