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

ImageryLayer with dayAlpha/nightAlpha and showGroundAtmosphere=false breaks 2D #12260

Open
Jing9010 opened this issue Oct 23, 2024 · 4 comments

Comments

@ggetz
Copy link
Contributor

ggetz commented Oct 23, 2024

Hi @Jing9010, I'm not sure I understand what the issue is you're seeing. Can you add more details about the expected behavior?

CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!

@ggetz ggetz added the needs feedback On hold until additional info is supplied label Oct 23, 2024
@Jing9010
Copy link
Author

1.Create an ImageryLayer
2.Set dayAlpha or nightAlpha: imageryLayer.dayAlpha = 0.0
3.viewer.scene.globe.showGroundAtmosphere = false
4. Change the sceneMode

@ggetz
Copy link
Contributor

ggetz commented Oct 24, 2024

Ah thank you @Jing9010. I see that this broken behavior only occurs when

  1. dayAlpha or nightAlpha is set, AND showGroundAtmosphere is disabled
  2. There is some delay before morphing to 2D.

@ggetz ggetz changed the title imageryLayer dayAlpha and nightAlpha with showGroundAtmosphere false ImageryLayer with dayAlpha/nightAlpha and showGroundAtmosphere=false breaks 2D Oct 24, 2024
@bbbbx bbbbx mentioned this issue Nov 28, 2024
6 tasks
@bbbbx
Copy link
Contributor

bbbbx commented Nov 28, 2024

I think https://github.com/CesiumGS/cesium/pull/12149/files#r1861546852 is related to this issue

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

3 participants