Lines disappears on zooming in

Here is the viewer change

var viewer = new Cesium.Viewer(“cesiumContainer”, {

shouldAnimate: true,

terrainProvider : Cesium.createWorldTerrain()


Zoom all the way in and out …

Hi Sam,


Thank you for sharing your sandcastle demo with the community. It looks like sections of the KML are being hidden as I zoom towards the terrain.


This error might be related to multi-frustum artifacts. Thus, it may be fixed by enabling log depth. Please try setting

scene.logarithmicDepthBuffer = true; = 0.1; = 10000000000.0;


Hi Sam.

I see the same issue. This is what I did on your sandcastle.

var viewer = new Cesium.Viewer(“cesiumContainer”,{terrainProvider : Cesium.createWorldTerrain()});
viewer.scene.logarithmicDepthBuffer = true; = 0.1; = 10000000000.0;

Let me know if this is what you were asking.



Hi Sam

Here is another sandcastle example


Are you still seeing the same issue even when you update your project to include the following code?

scene.logarithmicDepthBuffer = true; = 0.1; = 10000000000.0;