# Partial terrain is turning translucent

**URL:** <https://community.cesium.com/t/partial-terrain-is-turning-translucent/8921>\
**Category:** CesiumJS\
**Created:** [December 8, 2019, 7:27pm UTC](https://community.cesium.com/t/partial-terrain-is-turning-translucent/8921 "2019-12-08T19:27:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepank\_Saxena](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/deepank_saxena/32/2651_2.png) [@Deepank\_Saxena](https://community.cesium.com/u/Deepank_Saxena)\
**Post date:** [December 8, 2019, 7:27pm UTC](https://community.cesium.com/t/partial-terrain-is-turning-translucent/8921/1 "2019-12-08T19:27:14Z")

</div>

I hosted rater image and on top of that is loading dem data for the same, but when putting entities on the same, the entities are not getting clipped by the 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:** [December 10, 2019, 12:59pm UTC](https://community.cesium.com/t/partial-terrain-is-turning-translucent/8921/2 "2019-12-10T12:59:39Z")

</div>

Do you have depthTestAgainstTerrain set to true?

[https://cesium.com/docs/cesiumjs-ref-doc/Globe.html?classFilter=globe#depthTestAgainstTerrain](https://cesium.com/docs/cesiumjs-ref-doc/Globe.html?classFilter=globe#depthTestAgainstTerrain)
