CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.98k stars 3.5k forks source link

Graphics behind the transparent label backgrounds are not showing. #9001

Open Aknbb opened 4 years ago

Aknbb commented 4 years ago

Hello,

I figured out a rendering bug. If user adds label to map with transparent backgroundColor (like Color(0, 0, 0, 0.15) and sets showBackground to true, graphics behind the label are not showing but only world imagery.

Sandcastle example: Click to see.

Browser: Google Chrome 83.0.4103.116 & Internet Explorer 11.1282.17753.0

Operating System: Windows 10 Enterprise

What Actually Happens: Graphis behind the label are not showing.

Happen

Expected Behavior: User can see other graphics behind the label. For instance, graphics that behind a polygon are rendering as expected.

Expected

OmarShehata commented 4 years ago

Thanks for reporting @Aknbb - this does appear to be a bug to me.

Aknbb commented 3 years ago

Hello, is there any update about this bug?

ggetz commented 2 years ago

Also reported in https://github.com/CesiumGS/cesium/issues/10745

As @onderaltintas added:

You cannot pick labels easily and have to hit exactly on letters when you do background: false. Lowers user experience. If pick algorithm would be fixed for labels, no need to fix this one for me.

ggetz commented 1 year ago

Also reported on the forum: https://community.cesium.com/t/incorrect-overlay-with-material/26965/2

dmyrto-roshchupkin commented 9 months ago

This is the same I think https://community.cesium.com/t/cesium-not-show-anything-under-transparent-background/23062/7