Gradient Polyline(like radar)

In my project i need to represent a radar like, now my problem is that i dont know how to make this look like real radar.

see this example:

there is a gradient color that follows the real polyline , like shadow
there is anyway to draw the polyline like in the follow example?

Sorry, but I don’t think there is anything built into Cesium that can achieve the line shadow that you would like to do. You would probably need to write a custom polyline material shader.


Can you guide me how to create a custome material shader?

For something like this, I think you could also just texture a plane with an image of the radar line, then rotate the plane.