pickPosition in 3dtiles

1. A concise explanation of the problem you’re experiencing.

In Cesium 1.36,I want to draw a polyline on 3dtiles,pickPosition does not work.I must set depthTestAgainstTerrain = true,this setting is not required in previous versions

if I set depthTestAgainstTerrain = true, label will be covered by the ground.

how to solve this problem?

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.


This is something we are hoping to fix before the 1.37 release. Keep an eye on https://github.com/AnalyticalGraphicsInc/cesium/issues/5676.

A workaround is to set the label’s disableDepthTestDistance so it shows on top of everything.

disableDepthTestDistance : Number.POSITIVE_INFINITY