File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/service/3DPlot/Primitive Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ class BasePlotPrimitive {
140140 this . _primitive = new Cesium . Primitive ( {
141141 geometryInstances : geomInstances ,
142142 appearance : new Cesium . PerInstanceColorAppearance ( {
143- translucent : this . _translucent
143+ translucent : this . _translucent ,
144+ noAlpha : true
144145 } ) ,
145146 asynchronous : false
146147 } ) ;
@@ -317,7 +318,8 @@ class BasePlotPrimitive {
317318 const primitive = new Cesium . Primitive ( {
318319 geometryInstances : instance ,
319320 appearance : new Cesium . PerInstanceColorAppearance ( {
320- translucent : this . _translucent || this . isTranslucentInstance ( instance )
321+ translucent : this . _translucent || this . isTranslucentInstance ( instance ) ,
322+ noAlpha : true
321323 } ) ,
322324 asynchronous : false
323325 } ) ;
@@ -357,7 +359,8 @@ class BasePlotPrimitive {
357359 } ) ;
358360 } else {
359361 appearance = new Cesium . PerInstanceColorAppearance ( {
360- translucent : true
362+ translucent : true ,
363+ noAlpha : true
361364 } ) ;
362365 }
363366
Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ class RegularPointPrimitive extends BaseRegularPrimitive {
163163 modelMatrix : this . _modelMatrix ,
164164 appearance : new Cesium . PerInstanceColorAppearance ( {
165165 translucent : this . _translucent || this . isTranslucentInstance ( instance ) ,
166+ noAlpha : true
166167 } ) ,
167168 asynchronous : false ,
168169 } ) ;
You can’t perform that action at this time.
0 commit comments