Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enableLighting = true causes black globe on Android #7871

Open
jdarpinian opened this issue May 28, 2019 · 4 comments
Open

enableLighting = true causes black globe on Android #7871

jdarpinian opened this issue May 28, 2019 · 4 comments

Comments

@jdarpinian
Copy link

On my Pixel 2 XL in Chrome 74, setting enableLighting to true causes the globe to render as completely black. I don't see any errors in the console. It seems to be an issue with the combination of showGroundAtmosphere and enableLighting, as disabling either of them brings the globe back.

Can be reproduced in this sandcastle: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Ground%20Atmosphere.html

@OmarShehata
Copy link
Contributor

Thanks for reporting this @jdarpinian. I can reproduce this on my Pixel 3 in Chrome as well. I can also see that zooming in enough once you get to the fade out distance will trigger the globe to render again. But I don't see a separate code path that triggers when this fade reaches 1 or 0 in this shader:

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/GlobeFS.glsl#L286

@bagnell any idea here?

@verybigzhouhai
Copy link
Contributor

@OmarShehata @jdarpinian I guess this is due to the structure, because this will not be reproduced on the pc platform, ios platform, Huawei mobile phone. the platform using Qualcomm processor seems to have this problem, I am removing all the structs, when I finish After working, I can confirm whether to solve this problem. #7651

@hst-m
Copy link

hst-m commented Feb 24, 2021

This issue still occurs on android chrome, is it possible to fix?

@zon-creativeworks
Copy link

Still presenting as an issue on both iPad OS and the latest Android version on a OnePlus 9 Pro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants