In Google Earth Plugin we have something called Ground overlays ( https://developers.google.com/earth/documentation/geometries#groundoverlay ) that allows us to set images on top of the terrain, and it will take care to follow the elevation of the terrain.
I have different vehicles with different shadow images that I want to overlay on the terrain according to the position and orientation of the vehicle. I have been looking through the demos and reference doc and can't find a way to accomplish the same. I checked out the Polygon but it will only position correctly with the flat ground, when the terrain layer is active it will not show, but even if I could get the altitude of each of the vertices right it would not work in cases where there are different heights inside the polygon.
What I really want is a way to show the shadows the vehicle casts on the terrain, in GE Plugin I had to use that "hack". Is this possible in Cesium?
Thanks for the help.