How can I draw a polyline that not hidden by the 3DTileset?

How can I draw a polyline like this? Always display even behind the b3dm tiles.

You can define a depthFailMaterial to define how it’s drawn when it’s behind something (if you want it to just always appear your depthFailMaterial can be the same as the original material). Example here:

https://github.com/AnalyticalGraphicsInc/cesium/pull/5160