# Terrain Shading

**URL:** <https://community.cesium.com/t/terrain-shading/7380>\
**Category:** CesiumJS\
**Created:** [September 4, 2018, 9:42am UTC](https://community.cesium.com/t/terrain-shading/7380 "2018-09-04T09:42:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![san](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/san/32/2011_2.png) [@san](https://community.cesium.com/u/san)\
**Post date:** [September 4, 2018, 9:42am UTC](https://community.cesium.com/t/terrain-shading/7380/1 "2018-09-04T09:42:58Z")

</div>

![terrain.PNG](https://global.discourse-cdn.com/cesium/original/1X/fbdd8969780ccbc3e2705b65583c6e4b9d6d78a6.png)

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

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [September 5, 2018, 1:31pm UTC](https://community.cesium.com/t/terrain-shading/7380/2 "2018-09-05T13:31:52Z")

</div>

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](https://groups.google.com/d/msg/cesium-dev/qBflDPdvjY8/2q3HJfSNDgAJ). 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.
