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

Fixes the extension check required for OIT #10417

Merged
merged 5 commits into from
Jun 1, 2022
Merged

Conversation

sanjeetsuhag
Copy link
Contributor

@sanjeetsuhag sanjeetsuhag commented Jun 1, 2022

See #9827 for more discussion.

Based on the information in this WebKit thread, this PR adds a check for EXT_float_blend when enabling OIT. It also removes the restriction on OIT for iOS devices added as a workaround in #10337.

Before After
photo_2022-06-01_09-58-00 photo_2022-06-01_09-57-55

Tested on an iPhone XR running iOS 15.5 using WebGL via Metal.

@cesium-concierge
Copy link

Thanks for the pull request @sanjeetsuhag!

  • ✔️ Signed CLA found.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.
  • ❔ Unit tests were not updated.
    • Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.

@sanjeetsuhag sanjeetsuhag requested a review from ggetz June 1, 2022 14:02
@@ -18,6 +18,7 @@

##### Fixes :wrench:

- Fixed the rendering issues related to order-independent translucency on iOS devices. [#10417](https://github.com/CesiumGS/cesium/pull/10417)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is how we should phrase it or if it needs to go into breaking changes (since the workaround initially went in breaking changes)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would definitely add a bullet mentioning that the workaround has been removed. That new bullet probably belongs in breaking changes.

@ggetz
Copy link
Contributor

ggetz commented Jun 1, 2022

I can confirm this fixes the behavior on my iOS device which could reproduce the initial material issue.

@ggetz
Copy link
Contributor

ggetz commented Jun 1, 2022

@sanjeetsuhag I think you have one eslint error to clean up.

@lilleyse Could you confirm the fix?

@lilleyse
Copy link
Contributor

lilleyse commented Jun 1, 2022

Looks good

@lilleyse lilleyse merged commit acabb61 into main Jun 1, 2022
@lilleyse lilleyse deleted the ext-color-buffer-float-fix branch June 1, 2022 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants