diff --git a/src/Layer/PointCloudLayer.js b/src/Layer/PointCloudLayer.js index 9d6aabaf8c..83283cf32d 100644 --- a/src/Layer/PointCloudLayer.js +++ b/src/Layer/PointCloudLayer.js @@ -194,6 +194,7 @@ class PointCloudLayer extends GeometryLayer { this.material.visible = this.visible; this.material.opacity = this.opacity; this.material.transparent = this.opacity < 1 || this.material.userData.needTransparency[this.material.mode]; + this.material.depthWrite = !(this.material.userData.needTransparency[this.material.mode] === true); this.material.size = this.pointSize; this.material.scale = context.camera.preSSE; if (this.material.updateUniforms) {