CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
885 stars 286 forks source link

Fix LOD dithering artifacts #1414

Closed j9liu closed 1 month ago

j9liu commented 2 months ago

Fixes #1388, #1359

This PR modifies the ML_DitherFade material layer to prevent some flickering pixels that could be seen on tilesets. These were most visible on Google Photorealistic 3D Tiles, and especially when the tileset was selected. You can see it in 12_CesiumGoogleMapsTiles behind the intro billboard, or check out #1388 for an example.

Before

image

image

After

image

image

I will also test if this addresses #1104, TBD.

j9liu commented 2 months ago

Unfortunately this does not address #1104. ☹️

kring commented 1 month ago

Code looks good, and this is working well, no matter if LOD transitions are enabled or disabled. Merging.