Terrain Shading


how can i achieve this(visibility analysis) on cesium terrain

There’s nothing built in to CesiumJS to do this out of the box right now, but check out Scott’s response in this thread. It’s not a quick solution, but if you’re willing to build it yourself you should be able to do the analysis you need programmatically, and then to display it, you could use an imagery layer overlayed onto the terrain.