-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Globe atmosphere does not work on Android/Chrome #10442
Comments
Hi @gilmotta, could you visit https://webglreport.com/ with the android device and take a screenshot of the results? Also what CesiumJS demo are looking at? Do you have a link? |
Hi, The results of https://webglreport.com/ are attached to this message. |
Hi again, |
Thanks @AndresPozo. @sanjeetsuhag Is it possible this has to do with the latest atmosphere updates? |
@ggetz Yeah, it's likely linked to the recent changes. @AndresPozo In the Atmosphere Sandcastle, in the Ground Atmosphere settings, would you be able to try increasing the values of Lighting Fade Out Distance and Lighting Fade In Distance and see if that affects the result at all. |
|
Based on some additional testing, the problem may be somewhere in core scattering loop of the atmosphere because the
|
The only problem here seems to arise from the usage of per-fragment ground atmosphere. The following causes have been ruled out:
|
Source: https://deviceatlas.com/blog/most-used-smartphone-gpu From my limited testing so far, this issue affects devices with Adreno GPUs. PowerVR GPUs show up more often, in lower end devices. In the US, however, Adreno GPUs are slightly more popular. |
@sanjeetsuhag any idea how to fix this issue? is there a feature I can turn on/off that will cause this not to happen? |
@andersan No fix for this yet. Setting |
@sanjeetsuhag thanks, that fixed the bug for my use case! (Android chrome, oneplus android device, using Cesium via Resium+React.js) |
@AndresPozo or @gilmotta, could you give this a try using the latest version? We had some performance improvements go in related to atmosphere |
Still does not work using Cesium 1.105.1 |
Thanks for testing @AndresPozo! |
Still does not work using Cesium 1.110.0 |
Facing the same issue, is any one found any fix ? I don't want to disable the showGroundAtmosphere. Thanks |
I suspect the drop in precision for They also have a page which lets you test the The relevant code path might be especially sensitive to change in precision as it computes exponentials in a few places. To test the theory, I tried swapping I'm not sure what a correct fix could look like as it also could affect other code paths that are sensitive to precision and replacing structs might not be easy. In this ThreeJS thread they talk about working around by selectively replacing structs with plain fields where they find it to be a problem. |
I have pushed some more changes to replace the return mobile (with latest changes): |
Hi,
I am testing CesiumJS to use it in my mapping project. CesiumJS works well on my desktop it seems but on my Android Galaxy S21 with Chrome version 102.0.5005 I can't see the globe. I only see a black ball. The same with Firefox version 101.1. on the same device.
I don't know if this is a good comparison but WebGL Earth demo works fine.
Thanks,
Gil
The text was updated successfully, but these errors were encountered: