-
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
Depth texture is unstable in post processing #11067
Comments
Thanks for the detailed writeup @bbbbx! I think I'm able to reproduce the same change in the depth texture after adjusting the camera. Is there any chance that the changes to the depth you're seeing is additional terrain tiles loading in after adjusting the camera? That looks like it could be the cause on my end. |
Thanks for response @ggetz Maybe not be related to terrain tiles loading, depth texture is still "flickering", even if I suspend the globe LOD update: suspend.globe.update.mp4Also, the depth value of model has the same problem: with.model.mp4 |
Thanks @bbbbx. I do see some of the flickering, but not as drastic as what you're showing in your videos. Would you mind taking screenshots of what you see webglreport.com? It might help determine what's going on. Also do you see a difference when disabling log depth with |
Here is a macOS 15.7 machine's WebGL report, Windows 10 above is same or better than it. Here is a screen record when log depth is disable log-depth-off.mp4The "banding" artifact is gone, but the flickering is still there, and it seems the depth values precision is lower then before. |
Also reported in #11972 |
I'm not sure if this is related to the dynamic calculation of the cesium/packages/engine/Source/Scene/Scene.js Lines 2451 to 2457 in 7b93161
|
Quick update: The flickering seems to correlate with an instability in the calculation of the frustum near plane distance. In this example, panning the camera only 1m makes the near plane jump from 23m to 0.1m. |
I am having similar issues with the depth buffer. 2024-10-29.16-41-17.mp42024-10-29.16-40-08.mp4 |
Here is a screen record:
screenshot.mp4
Sandcastle example: URL
Browser: Google Chrome 109.0.5414.120
Operating System: Windows 10 Version 21H2 (Build 19044.2486)
Any suggestions are welcome!
The text was updated successfully, but these errors were encountered: