-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
A rendering bug with globe at specific camera angles #12288
Comments
Observed: Browser: Google Chrome 130.0.6723.92 Not observed: Browser: Google Chrome 130.0.6723.93 And for those who can not observe it and are curious: This is a GIF (256 colors), but it still adequately reflects the visual appearance of that "noise" in the blue area (which should basically be a single, solid color), and shows that it completely disappears when rotating the camera up or down, showing that the effect is only visible in a very narrow area. And more specifically, it looks like it is related to the sun being (more or less exactly) at the horizon - I just captured a sunset here: (This might give a hint about which part of the shader might have some |
Perhaps this is due to fog? Could someone who is able to reproduce the issue try it with: // Disable fog in the scene
viewer.scene.fog.enabled = false; and report what you see? |
That fixes it (for me). (Coming up with that idea, though 😲 ...) |
This may be in the same area of the code that is making fog too dark in general. My guess is there's some sort of precision issue. |
Yes, a precision issue together with something like the
So the fact that it seems to be related to fog is ... surprising... |
Now, I was a bit curious... I'd say that the "dot product" that I mentioned is the one at
AtmosphereStageFS.glsl ). It uses the viewer position and light direction, and that dot product may just so be near the limit when looking at the sun...
Setting When commenting out all uses of |
What happened?
In Cesium Scene, there is no imagery layer in the scene, the blue surface is the original earth surface, but you can still see the alternating dark on the surface.
It was clearly visible, grainy noise in the blue area. And this noise “moved” randomly when moving the camera - it looked like some sort of “screen space” effect. It was only visible in a very narrow are of the camera configuration (i.e. it disappeared quickly when moving up/down).
So it looks like it is related to the GraphicsCard/Driver (or, less likely, the OS).
Reported on the forum
Reproduction steps
...
Sandcastle example
No response
Environment
Observed
Browser: Google Chrome 130.0.6723.59
CesiumJS Version:Cesium 1.123
Operating System:Windows 10 Professional 22H2 19045.5011
Graphics Card/Driver: ....
Not observed
Browser: Google Chrome 128.0.6613.137
CesiumJS Version:Cesium 1.123
Operating System: Ubuntu 22.04
Graphics Card/Driver: TU117M [GeForce GTX 1650 Mobile / Max-Q] NVIDIA Corporation
The text was updated successfully, but these errors were encountered: