Great solution, thanks for sharing. Our use case would really benefit if Cesium were to enable the depth test property on polylines. What would be incredible would be the ability to modify the appearance of polylines and billboards when viewed through terrain (change shade, change colour, etc)