# Hide terrain below 3dtileset

**URL:** <https://community.cesium.com/t/hide-terrain-below-3dtileset/38973>\
**Category:** CesiumJS\
**Created:** [February 28, 2025, 2:47pm UTC](https://community.cesium.com/t/hide-terrain-below-3dtileset/38973 "2025-02-28T14:47:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinpark](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/jinpark/32/14000_2.png) [@jinpark](https://community.cesium.com/u/jinpark)\
**Post date:** [February 28, 2025, 2:47pm UTC](https://community.cesium.com/t/hide-terrain-below-3dtileset/38973/1 "2025-02-28T14:47:32Z")

</div>

Hello,

I understand that theres a way to hide the terrain using clipping planes/polygons but is there a way to hide the terrain below the 3dtileset?

I understand that if you know the polygon/area that the tileset will be on the terrain and create a polygon shape as a clipping plane, you can remove the terrain but is there a way to do this with just the 3dtileset?

I would like to keep the surrounding terrain and just remove the areas under the tileset. I have got a half solution using `globe.depthTestAgainstTerrain` but this is a more global option whereas I am looking for more of a per tileset option.

An example use case would be, i have a tileset that is a photogrammetry of a cliff but the default terrain makes the cliff out to be taller than what we have scanned, so the terrain cliff sticks out over the tileset cliff.

example pic - the dark areas are the terrain.

 ![image](https://global.discourse-cdn.com/cesium/original/3X/1/4/14ffdef90ae39475cca48125c410f1c5451ae8c3.jpeg)

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [March 3, 2025, 9:32pm UTC](https://community.cesium.com/t/hide-terrain-below-3dtileset/38973/2 "2025-03-03T21:32:39Z")

</div>

Hi there,

We have a [Tutorial covering hiding terrain under a 3D tileset here](https://cesium.com/learn/cesiumjs-learn/cesiumjs-clipping-polygons/). Hopefully that will get you pointed in the right direction.

---

<div class="post-metadata">

**Author:** ![jinpark](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/jinpark/32/14000_2.png) [@jinpark](https://community.cesium.com/u/jinpark)\
**Post date:** [March 3, 2025, 9:54pm UTC](https://community.cesium.com/t/hide-terrain-below-3dtileset/38973/3 "2025-03-03T21:54:32Z")

</div>

Thanks for the help!

> Often external apps will define a footprint or outline.

Do you have any resources on getting the footprint for a 3d tileset? Not sure which apps can do this for me.

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [March 4, 2025, 2:27pm UTC](https://community.cesium.com/t/hide-terrain-below-3dtileset/38973/4 "2025-03-04T14:27:06Z")

</div>

> Do you have any resources on getting the footprint for a 3d tileset? Not sure which apps can do this for me.

I’m not sure what your data workflow is, but some example might be [FME](https://community.safe.com/transformers-9/3d-footprint-of-3d-object-12582), [ArcGIS](https://www.darklab.lu.se/swedigarch-tutorials/tutorials/georeferencing-of-3d-boundary-and-surface-models-in-gis/), or QGIS. You could also manually click out positions yourself to define the edges of the polygon in a mini CesiumJS app.
