Disabling Depth Testing Against 3D Tiles for Billboards

Hi everyone,

I’m facing an issue with depth testing in CesiumJS.

I rely on depth testing for my billboards to display in the correct order, especially when tilting the camera. However, in certain positions, the billboards glitch through my 3D tiles, which causes visual inconsistencies.

I noticed there’s an option to disable depth testing against terrain using scene.globe.depthTestAgainstTerrain, but I couldn’t find a similar option for disabling depth testing against 3D tiles specifically.

Is there a way to selectively disable depth testing for 3D tiles while keeping it enabled for terrain and other objects? Or is there another workaround to prevent these glitches without losing the correct rendering order of the billboards?

Thanks in advance for any guidance!

Hi @andrei.ziminov ,
Thanks for your post and welcome to the Cesium community.

We have this sandcastle example which I think may apply to your use case Cesium Sandcastle. It shows how to attach elements such as a point with a label, billboard, etc. to 3DTiles or Terrain, with the key being:

To clamp points or billboards set the heightReference to CLAMP_TO_GROUND or RELATIVE_TO_GROUND

Please have a look. If this does not fit your use case let us know and we can drill down further.

Thanks,
Luke

Hey Luke,

First of all, thank you for your response! I’ve been struggling with this issue for weeks now and still can’t find a solution.

To answer your question, yes, I am already using CLAMP_TO_GROUND. Here’s an example of how I’m implementing it. We use this setting because we need to place markers directly on top of 3D tiles:

viewer.entities.add({
  position: position,
  billboard: {
    image: createTextBoxCanvas(),
    color: cesium.Color.WHITE.withAlpha(1.0),
    width: 50,
    height: 50,
    verticalOrigin: cesium.VerticalOrigin.BOTTOM,
    heightReference: cesium.HeightReference.CLAMP_TO_3D_TILE,
    disableDepthTestDistance: 0,
  },
});

The issue arises because this configuration causes buggy billboards that glitch through the 3D tiles. According to the documentation, I can use disableDepthTestDistance: Number.POSITIVE_INFINITY to disable depth testing. However, this creates another problem: my labels overlap in a strange order.

Here’s a visual comparison:
• Depth testing disabled:


• What it should look like (depth testing enabled):


When I enable depth testing, the billboards start intersecting with the 3D tiles, which looks incorrect. The main reason I need depth testing enabled is that when tilting the camera, the billboards closer to the viewer should appear on top, maintaining the correct visual hierarchy.

Intersecting with 3d tiles (depth testing enabled):


No intersection (depth testing disabled)


My goal is to maintain the logical order of the entities, which I achieve by enabling depth testing, while also preventing them from intersecting with the 3D tiles as they do when depth testing is enabled.

Additional Details

Tile Set Configuration:

Here’s our tile set configuration for the Google Photorealistic 3D Tiles API:

const googleTileset = await cesium.createGooglePhotorealistic3DTileset(apiKey, {
  foveatedScreenSpaceError: true,
  foveatedConeSize: 0.2,
  foveatedTimeDelay: 0.2,
  maximumScreenSpaceError: 16,
  skipLevelOfDetail: true,
  skipScreenSpaceErrorFactor: 16,
  skipLevels: 2,
  cullRequestsWhileMoving: true,
  cullRequestsWhileMovingMultiplier: 8.0,
  immediatelyLoadDesiredLevelOfDetail: false,
  preloadWhenHidden: true,
  preloadFlightDestinations: true,
  loadSiblings: true,
});

Cesium Viewer Configuration:

Here’s the relevant part of our Cesium Viewer setup:

cesiumViewer.current = new Viewer(cesiumContainerRef.current, {
  terrainProvider: terrainProvider,
  baseLayerPicker: false,
  timeline: false,
  animation: false,
  navigationHelpButton: false,
  homeButton: false,
  fullscreenButton: false,
  sceneModePicker: false,
  geocoder: false,
  infoBox: false,
  selectionIndicator: false,
  navigationInstructionsInitiallyVisible: false,
  shadows: false,
});

cesiumViewer.current.cesiumWidget.creditContainer.style.display = 'none';
cesiumViewer.current.targetFrameRate = 60;
cesiumViewer.current.clock.clockStep = cesium.ClockStep.SYSTEM_CLOCK_MULTIPLIER;
cesiumViewer.current.postProcessStages.fxaa.enabled = true;

I’m happy to provide further code examples or settings if needed. Let me know if there’s anything else I can clarify.

Thank you again for your time and support!

Hi @andrei.ziminov ,
Thanks for the follow up with additional screenshots and examples.

Have you tried setting billboard.verticalOrigin to cesium.VerticalOrigin.TOP? Since you seem to be using cesium.VerticalOrigin.BOTTOM, the tile content and billboard may be clashing.

If that possible fix does not help. Could you possibly make an example using our sandcastle tool that reproduces the issue? https://sandcastle.cesium.com/ This will help us pinpoint the issue and debug more quickly.

Thank you,
Luke

Here’s a direct link to the Sandcastle example. You might try tilting the camera slightly to observe how the label intersects with the 3D tile.

Unfortunately, we need the billboard.heightReference set to CLAMP_TO_3D_TILE because we aim to mark specific buildings or locations on the map.

https://sandcastle.cesium.com/#c=tXpXs+NKjuZfqejYhzuh7qJoRDPTPbH03nvGfViKXvTeTPR/X56q23Z6Yp9WEUcSMxNIAIkEPhwh6bt5+bZV2Z5N3/70rcv2b3Q2V2v73fsx9suvv0t+PNN9t8RVl02//u733/7r1+7bt6Vqs+Ye+fdvedzM2e+/xuKuauOl6ru/H5yTrMvUPs2MKqmz6e+n3vGcKfGZTf99CgC+OWX2rWj6d/Yt7bP5W9cvt4BZ+m3pv32NVfPQ3LTpX5bPVZdk35abyCj7pZ+yuKnmpUq+wcw3p2puDveCZk3vNdk03cp80f3g/7d9//xv//HrPX5zY7v43WTfpqxLs6nqih+M5/r8tftpre8/1Pp+j5BL289DmU33U9nvtxmXac3+wodM0/9Jnl+7ZTp/GjP5cQ7L12i23BziPa6WvxxFcpMuGd/3RZP9IyuYcX6S/PIl97dv/yDaMFVttVRbNn+P0/SX35h/LfzztyRekvLbL7cd+unf/iZC32Tfm7745f+wXxPfmj5Ov1T/n+z5G8vvX+T/679+MPvz//mxwZfyvwmTdcstxW9C/Nr92Ovbt19/V6W//u7f708Yg/FXHoN/yN4g/AcEhd5/IJ5p+gcYwp4ggqcImsK30/2FrIvb7IuwW5vmr4NDP1dfbvc18dsGPyeOrxEERFDiiX4HCRBBEJiAsd///Zrzaw0KQhCOfEdQHCcgDENf/7Dk+sEGI8Dn6/X9/nthKIbAP1f8+a9SvKumeffxlP43Me5bUWQ/1U3jJf73H8/A0BX/8XUDUOT3lUfp1v6U+aIn75dmuyXrFl/f3PuNgmgy/PrMT+3NfC0gA822niI5zUiCmiTJg6BksZybcdjSmSnOqW5wPDJ6C3miQsuwLyR/lgRW6SvitkJfTVApiX3KWf5OEMgEsRDNOQt0hDFBA3EMGEBeBFn0Nt5r2gKwMqwYcSG5MTMLtl5qC3RaBmgt3BKONGwugyIQ58KeNPjjPCWgBqbd5uHbWESyZ+qDJ2rDu32pGkqMbx5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9TE59eyEvxP5efg9+/f/wjcj/+acun75h1P/8T5/wI

Hey Luke,

I successfully could reproduce it in sandcastle.

Here is my code:

const viewer = new Cesium.Viewer("cesiumContainer", {
  timeline: false,
  animation: false,
  sceneModePicker: false,
  baseLayerPicker: false,
  // The globe does not need to be displayed,
  // since the Photorealistic 3D Tiles include terrain
  globe: false,
});

// Enable rendering the sky
viewer.scene.skyAtmosphere.show = true;

// Add Photorealistic 3D Tiles
try {
  const tileset = await Cesium.createGooglePhotorealistic3DTileset();
  viewer.scene.primitives.add(tileset);
} catch (error) {
  console.log(`Error loading Photorealistic 3D Tiles tileset.
  ${error}`);
}

viewer.entities.add(
{
    "id": "37385fa1-eb13-462b-90dd-3270148d46d3",
    "name": null,
    "position": {
        "x": 4146906.1914443937,
        "y": 612284.4688927765,
        "z": 4791055.055576743
    },
    "billboard": {
        "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAAB2CAYAAABfyNbDAAAAAXNSR0IArs4c6QAAG11JREFUeF7tnQd8FMUXx+eCvYG9i6hYogJWsJHELoi9914oir2hJIodFRWw994r2E2CFTt2xYa9C/aa/P/fgXeZbPbudm/3Lpu79z4fPsDt7uzMm/nNe/Nm3m9TJpvUD642FU3VJpWqsrc1N1dnvV8vqgZKVQOpVINpbm5MN69qbG2mpqZ8L0wHU32p6kfbpRqISQN1xgdcrUEFmDo1D1eLFJPKtZhy0ECdaapoMDWjG6SxLaBS61QOA0DbWCgNNFXUCLBaQNU4EB9xuPedtV37m6ou3e3P1Z2n/62iGig3DTRMm2wap062za6dMq5t81lz9R1Tw4XpoPIBFGAa3rVfuelO26saCKSBuinj24JrhrUSUDW7JSmgAulVbypzDfgCq2psKuVnpZr7jilzdWnzVQPBNJCaMKj1jU0VNW1ApVYqmDL1LtUAGvCxVnUKKh0bqoEIGiCAUTNpVEsJqVRDykwYVO/uS9X3HKpRvghK1kfLSwP+oGoc2CpIoeup8hoU2troGvCuq3D/FFTR9aollLEGFFRl3Pna9MJoQEFVGL1qqWWsAQVVGXe+Nr0wGlBQFUavWmoZayCxoHrvvffMqFFOvD9LJ+2+++5m2WWXNaeeeqo56qijzHLLLZe1SydPnmzOP/98c/TRR9vnokrc5UWtTxKef+edd8xFF11kTjvtNLPAAgskoUpFq0NiQfXqq6+a4447rpUiHnvsMfv/TTbZpNXvRxxxhOnWrZtZaaWVzDPPPGPWXXfdrAp89NFHzWabbWaee+4506dPn8jKjru8yBUyxnzxxRfmzjvvNHvuuaeZb7754igyYxn01YsvvmgOOuig9D1PPvmk2WijjcxHH31k+6acJLGg8uuELbfc0mAVsGJeeffddwOD6ssvvzQTJkywwJp33nkj93fc5UWukDHm2WefNeutt57BYqy44opxFJmxjLPOOsucccYZ5ueff1ZQkerhOf+X6H2quEBV0BGWkMIVVO3XESUJqmnTppm77rrLune4hNtss43ZY4890lr++OOPzcUXX2yOOeYYs+iii9rf//77b3PllVea+++/33z22WdmnXXWsZZs4403zmnN4i6P+vz777/m3nvvNTfffLP58MMPzUwzzWR69OhhBg4caNZaa62sI+aqq64yjzzyiLnjjjus+8eaZvjw4aZz5872uW+++cZccskl1pr98MMPZo011jB77bWXWX/99dPlPvDAA6a+vt4cfvjhpmvXrq3eR7nolrrccMMN5sEHHzSvvPKKwQ3nXSeeeKJx3T/qf99999n3Lb744tY9P/TQQ9P1cQt/4403zI033mjL/+eff8zaa69tdthhB7PBBhukb7vgggvM999/b2pra83MM8+c/r25udlgNel/1tezzDJLuyCr5EC14YYb2g4dPHiwWWKJJWzn0KHHH3+8OfPMM62Sn3/+eQuat956y1RWVtrf6urqbCfxPINr0qRJ9jmuU8Y888yTsYPiLo8XMWAZ+Ntvv73p3bu3+eOPP8xNN91k3n//fVt/fsskV1xxhQUUa1CeZ0119tln28mB9c/mm29uH915553tNQBImWPGjLHvRViTMSEBuMcff9x06tTJ/v7666+bnj17mh133NHcfvvtZtCgQfZZQHXggQeahRde2AYnBFT0w+jRo82AAQPMmmuuaXXOc+j1oYceMksttVS6GdR5p512M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J5RXbVSCe43BVWCO8dWra0bqIBKeJ8pqBLeQW3cQHX7Et9j/wPu+nDXtgXbAwAAAABJRU5ErkJggg==",
        "verticalOrigin": 1,
        "heightReference": 5,
        "color": {
            "red": 1,
            "green": 1,
            "blue": 1,
            "alpha": 1
        },
        "disableDepthTestDistance": 0,
        "pixelOffset": {
            "x": 0,
            "y": -20
        }
    },
    "polyline": {},
    "label": {}
}
);

// Point the camera at the Googleplex
viewer.scene.camera.setView({
  destination: Cesium.Cartesian3.fromDegrees(
    8.4036527,
    49.0068901,
    300,
  ),
    orientation: new Cesium.HeadingPitchRoll(
    4.6550106925119925,
    -0.2863894863138836,
    1.3561760425773173e-7,
  ),
}); 
1 Like

Hi @andrei.ziminov ,
Thanks for providing a clear working sandcastle demonstrating the problem you are facing.

After investigating and clearly seeing the issue you are describing, I believe we have an existing bug report open for this problem here Billboard ordering incorrect when using disableDepthTestDistance · Issue #6838 · CesiumGS/cesium · GitHub. I have noted your use case on the issue for future reference and hopefully we can address it soon.

I do think it may be possible for you to implement an imperfect workaround by manually setting the entity height to be a small height above most features in the 3DTileset as show here Example Sandcastle
while also setting heightReference to RELATIVE_TO_3D_TILE.

Please let us know if this works for you and if we can be of more help.

Thanks,
Luke

Hi Luke,

Thank you for your investigation! It’s a relief to finally have some clarity on a problem that’s been on my mind for weeks.

Unfortunately, setting the height reference to RELATIVE_TO_GROUND with a slight offset doesn’t completely resolve the issue. In densely cluttered cities, it seems impossible to fully avoid the problem.

If this is an open issue, it looks like we’ll need to wait until it’s resolved. In the meantime, I’d be happy to provide additional details or screenshots if they would help in addressing this issue. Please let me know if there’s anything else I can do to assist. :slight_smile: