# Unground black areas

**URL:** <https://community.cesium.com/t/unground-black-areas/14290>\
**Category:** CesiumJS\
**Created:** [July 2, 2021, 3:52pm UTC](https://community.cesium.com/t/unground-black-areas/14290 "2021-07-02T15:52:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![h11a](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/h11a/32/5419_2.png) [@h11a](https://community.cesium.com/u/h11a)\
**Post date:** [July 2, 2021, 3:52pm UTC](https://community.cesium.com/t/unground-black-areas/14290/1 "2021-07-02T15:52:40Z")

</div>

Hi

I having having some issues with the underground view.

I have set the baseColor and undergroundColor to white and I also have a base imagery layer which is white (a GridImageryProvider) yet I am still setting this large black triangles in different parts when under the map

 ![image](https://global.discourse-cdn.com/cesium/original/2X/a/ada295337769b46ddf4c0c3d0b353909ff8519b7.png)

They seem to move places if I rotate the camera

Does anyone know how this could fixed so everything is white.

Kind regards

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [July 2, 2021, 6:19pm UTC](https://community.cesium.com/t/unground-black-areas/14290/2 "2021-07-02T18:19:42Z")

</div>

@h11a

Welcome to the community! I have noticed this problem a few times, however it was in a different context. I just found [this post](https://community.cesium.com/t/how-to-display-underground-entity/6314) that discusses displaying entities underground - you might find this helpful.

A few quick questions:  
What is your use case for viewing underground?  
Are you trying to prevent the camera from going underground?

-Sam

---

<div class="post-metadata">

**Author:** ![h11a](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/h11a/32/5419_2.png) [@h11a](https://community.cesium.com/u/h11a)\
**Post date:** [July 7, 2021, 9:02am UTC](https://community.cesium.com/t/unground-black-areas/14290/3 "2021-07-07T09:02:57Z")

</div>

Hi Sam

I am looking to display shapes underground which can be viewed if the user drags the camera under the image layer. I have managed to get them be hidden by terrain by using.

scene.globe.depthTestAgainstTerrain = true;

I have also managed to get the camera to pan underground correctly in terms of my use case.

I have set my base colour to

scene.globe.baseColor = Cesium.Color.RED.clone();

scene.globe.undergroundColor = Cesium.Color.GREEN.clone();

I actually do want the underground to be white, the red and green were just tests to see what they change. What is actually setting the white and black in the image I originally posted?

I have read through the thread you posted and can’t seem to find much help with this.

Any support is appreciated

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [July 7, 2021, 5:39pm UTC](https://community.cesium.com/t/unground-black-areas/14290/4 "2021-07-07T17:39:12Z")

</div>

@h11a

From what I can tell, white and black are the default underground colors. Thus, if you look through the [Globe documentation](https://cesium.com/learn/cesiumjs/ref-doc/Globe.html) and the [Color documentation](https://cesium.com/learn/cesiumjs/ref-doc/Color.html), you will see that the default color values for the underground are updated as expected.

-Sam

---

<div class="post-metadata">

**Author:** ![h11a](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/h11a/32/5419_2.png) [@h11a](https://community.cesium.com/u/h11a)\
**Post date:** [July 9, 2021, 2:52pm UTC](https://community.cesium.com/t/unground-black-areas/14290/5 "2021-07-09T14:52:24Z")

</div>

Awesome thanks sam 🙂
