-
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
Fix polyline regression with log depth #8703
Conversation
Thanks for the pull request @kring!
Reviewers, don't forget to make sure that:
|
@lilleyse you're probably the best person to review this, correct? Also, SpectorJS is really useful too, so I personally don't see a reason not to include it. |
Cool I'll check this out tomorrow |
The change looks good. @kring do you plan on pushing any other fixes in this PR or is this ready? |
This can be merged. I hope to do a another PR today to fix the rest of the polyline/log depth issues. |
Co-Authored-By: Sean Lilley <[email protected]>
Cesium's fancy polyline rendering sometimes needs to clip lines at the near plane. But it was still using the depth of the original vertex after clipping.
Fixes #8663
I had hoped this would fix all the log depth polyline problems, but alas no. There's still something dodgy going on with polyline depth. In any case, this was a clear bug and this fix should go into 1.68.
This PR also includes #8608 (Spector.js shader editor support) because I merged that in in order to help debug this. If anyone has a problem with that, let me know and I'll rebase this PR to remove those changes. But those changes are awesome, so please just merge them too. :)