# Flickering tileset

**URL:** <https://community.cesium.com/t/flickering-tileset/25123>\
**Category:** Cesium for Unreal\
**Created:** [July 1, 2023, 9:05pm UTC](https://community.cesium.com/t/flickering-tileset/25123 "2023-07-01T21:05:33Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasRemograph](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andreasremograph/32/14203_2.png) [@AndreasRemograph](https://community.cesium.com/u/AndreasRemograph)\
**Post date:** [July 1, 2023, 9:05pm UTC](https://community.cesium.com/t/flickering-tileset/25123/1 "2023-07-01T21:05:33Z")

</div>

Hi,

My simple tileset working fine in CesiumJS and Cesium for Unity flickers weirdly in Cesium for Unreal (UE 5.2.1 with Cesium for Unreal 5.2.0). The tiles are sometimes completely invisible and sometimes behaving like they are semi-transparent or something. The regular CesiumWorldTerrain works fine. See this video:  
[cesium\_unreal.zip](https://community.cesium.com/uploads/short-url/op4mZAxvCX7msOI3yg6G9Nlx4EU.zip) (1.8 MB)

And here is the tileset:  
[test42\_3D\_Tiles.zip](https://community.cesium.com/uploads/short-url/3UBnRfGDabtWx3mKq4ADvOGBROz.zip) (6.6 MB)

Any idea what might be wrong?

/Andreas

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [July 3, 2023, 6:25pm UTC](https://community.cesium.com/t/flickering-tileset/25123/2 "2023-07-03T18:25:46Z")

</div>

Hi Andreas,

This seems to be the same problem as discussed [here](https://community.cesium.com/t/strange-ue5-earth-issue/19584/7), an older thread. Enabling “Render CustomDepth Pass” on your tileset stops the flickering, and that’s the only workaround I can suggest for now.

We created a [Github issue](https://github.com/CesiumGS/cesium-unreal/issues/914) for this bug, and I’ll bump it with a link to this thread. But we have to investigate further to figure out the cause.

Janine

---

<div class="post-metadata">

**Author:** ![AndreasRemograph](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andreasremograph/32/14203_2.png) [@AndreasRemograph](https://community.cesium.com/u/AndreasRemograph)\
**Post date:** [July 3, 2023, 8:34pm UTC](https://community.cesium.com/t/flickering-tileset/25123/3 "2023-07-03T20:34:25Z")

</div>

Thanks for the Render Custom Depth Pass fix and for bumping the issue, Janine. I hope my example tileset will help fixing the issue permanently.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 4, 2023, 11:51am UTC](https://community.cesium.com/t/flickering-tileset/25123/4 "2023-07-04T11:51:30Z")

</div>

This is a bit of a shot in the dark, but does it help you remove the `DitherFade` material layer from the default Cesium material? Instructions here:

> [@Forward rendering, MSAA, black squares and 'dithering' artifacts on terrain](https://community.cesium.com/t/forward-rendering-msaa-black-squares-and-dithering-artifacts-on-terrain/24149/6):
>
> Thanks! I can reproduce this, and I have a workaround. Open up Materials/Instances/MI\_CesiumThreeOverlaysAndClipping with the UE Editor. It’s inside the Cesium for Unreal plugin folder, so you might have to enable “Show Plugin Content” in the Content Browser. Then find the DitherFade material layer and delete it by pressing the X: Save the material, and the dithering artifact should go away. The problem is caused by the use of the engine-provided DitherTemporalAA node. As the name …

---

<div class="post-metadata">

**Author:** ![AndreasRemograph](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andreasremograph/32/14203_2.png) [@AndreasRemograph](https://community.cesium.com/u/AndreasRemograph)\
**Post date:** [July 4, 2023, 3:56pm UTC](https://community.cesium.com/t/flickering-tileset/25123/5 "2023-07-04T15:56:44Z")

</div>

Sorry but I’m still quite lost in UE and maybe I’m looking in the wrong place, but I can’t find any MI\_CesiumThreeOverlaysAndClipping:

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

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 5, 2023, 12:17am UTC](https://community.cesium.com/t/flickering-tileset/25123/6 "2023-07-05T00:17:57Z")

</div>

You need to look in the Cesium for Unreal plugin, not in your project. The post I linked explains how to make the Content Browser show plugin content (enable “Show Plugin Content”), and where to look for the material instance within the Cesium for Unreal plugin (Materials/Instances/MI\_CesiumThreeOverlaysAndClipping).

---

<div class="post-metadata">

**Author:** ![AndreasRemograph](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andreasremograph/32/14203_2.png) [@AndreasRemograph](https://community.cesium.com/u/AndreasRemograph)\
**Post date:** [July 5, 2023, 11:01am UTC](https://community.cesium.com/t/flickering-tileset/25123/7 "2023-07-05T11:01:33Z")

</div>

Show Plugin Content is enabled in the screenshot above, should the plugin itself be present in the root of the hierarchy to the left then? Or is there another more general Content Browser somewhere? Sorry for being an UE noob, but sometimes things seem unnecessarily complicated. No fault of yours of course.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 5, 2023, 11:39am UTC](https://community.cesium.com/t/flickering-tileset/25123/8 "2023-07-05T11:39:41Z")

</div>

Oh I think when the plug is installed via the Epic Launcher, it’s considered an Engine plugin. Try enabling “Show Engine Content” as well and it should appear.

---

<div class="post-metadata">

**Author:** ![AndreasRemograph](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/andreasremograph/32/14203_2.png) [@AndreasRemograph](https://community.cesium.com/u/AndreasRemograph)\
**Post date:** [July 5, 2023, 11:55am UTC](https://community.cesium.com/t/flickering-tileset/25123/9 "2023-07-05T11:55:13Z")

</div>

Ok, found it. But removing the dither fade material didn’t solve it, sorry. No problem for me at the moment though, I have instructed our users to disable the “Render CustomDepth Pass” instead.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 5, 2023, 12:07pm UTC](https://community.cesium.com/t/flickering-tileset/25123/10 "2023-07-05T12:07:00Z")

</div>

Ok, thanks for trying it! That’s useful information for us in tracking down the problem.

---

<div class="post-metadata">

**Author:** ![Dysalor](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/dysalor/32/19998_2.png) [@Dysalor](https://community.cesium.com/u/Dysalor)\
**Post date:** [January 11, 2024, 1:11pm UTC](https://community.cesium.com/t/flickering-tileset/25123/11 "2024-01-11T13:11:41Z")

</div>

I just stumbled over the same or a similar issue. Render Custom Depth Pass solved it too. I just want to add some observations. Maybe it helps in solving the issues cause:

- The flickering only happens on flat surfaces (fields, water, …), not on Buildings or Tree areas. (When you want to know, if you can reproduce in an area, go to the next big water surface.)
- In my case it only happened on the max Resolution tiles (the smallest tiles, when you are close). When you go away far enough, the flickering also goes away.
- In some areas of the world it does happen, in some not.
- Its always the same tiles that flicker.
- When you go away far enough from the origin of the local coordinate system, it stops happening, until you get closer again.
- I am working with cesium for a couple of months now and always in the same areas of the world and I encountered this problem today for the first time. And now it is almost everywhere you can find flat surfaces in all of those areas I am working in. And it will also happen in a completely new project for the same tiles.

---

<div class="post-metadata">

**Author:** ![VelvetElvis](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/velvetelvis/32/11887_2.png) [@VelvetElvis](https://community.cesium.com/u/VelvetElvis)\
**Post date:** [January 22, 2024, 9:51pm UTC](https://community.cesium.com/t/flickering-tileset/25123/12 "2024-01-22T21:51:24Z")

</div>

I just got this bug as well. I had been using Cesium for multiple projects prior without issue. The flickering also goes away when the Cesium Google Tileset is selected in the Outliner. Unselected, it flickers while navigating the scene.

Just as Dysalor mentions, the flickers for me are always on flat surfaces. No buildings, trees, or even slight slopes.

---

<div class="post-metadata">

**Author:** ![jyp7202](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/jyp7202/32/14000_2.png) [@jyp7202](https://community.cesium.com/u/jyp7202)\
**Post date:** [January 26, 2024, 4:33pm UTC](https://community.cesium.com/t/flickering-tileset/25123/13 "2024-01-26T16:33:56Z")

</div>

I’m getting this issue as well. It decided to happen when I have a major project due from a client. I’ve been at my wits end with this. Render Custom Depth pass seems to help a little on my end but it happens slightly sometimes.

---

<div class="post-metadata">

**Author:** ![Shop\_Club](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/shop_club/32/15328_2.png) [@Shop\_Club](https://community.cesium.com/u/Shop_Club)\
**Post date:** [April 16, 2024, 6:06am UTC](https://community.cesium.com/t/flickering-tileset/25123/14 "2024-04-16T06:06:15Z")

</div>

use ExponentialHeightFog its working good

---

<div class="post-metadata">

**Author:** ![240azsk74](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/240azsk74/32/23084_2.png) [@240azsk74](https://community.cesium.com/u/240azsk74)\
**Post date:** [April 22, 2024, 10:38am UTC](https://community.cesium.com/t/flickering-tileset/25123/15 "2024-04-22T10:38:08Z")

</div>

Have u found any solution to this flickering problem?

---

<div class="post-metadata">

**Author:** ![Dysalor](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/dysalor/32/19998_2.png) [@Dysalor](https://community.cesium.com/u/Dysalor)\
**Post date:** [April 22, 2024, 1:48pm UTC](https://community.cesium.com/t/flickering-tileset/25123/16 "2024-04-22T13:48:16Z")

</div>

In my case, using Render Custom Depth Pass solved the Problem.

---

<div class="post-metadata">

**Author:** ![MZummo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mzummo/32/14037_2.png) [@MZummo](https://community.cesium.com/u/MZummo)\
**Post date:** [August 15, 2024, 5:09pm UTC](https://community.cesium.com/t/flickering-tileset/25123/17 "2024-08-15T17:09:54Z")

</div>

Sorry for the late reply, I just had this issue and wanted to notify anyone of a possible fix.

Inside of Project Settings, unchecking “Occlusion Culling” immediately solved the issue - no more flickering!

Hope that helps someone. 😅

---

<div class="post-metadata">

**Author:** ![LukaLake](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/lukalake/32/14037_2.png) [@LukaLake](https://community.cesium.com/u/LukaLake)\
**Post date:** [January 12, 2025, 11:40am UTC](https://community.cesium.com/t/flickering-tileset/25123/18 "2025-01-12T11:40:40Z")

</div>

Using Render Custom Depth Pass actually helps and I haven’t seen drawback of doing this yet.
