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

Anti-Aliasing not working >= 1.66.0 #8671

Closed
craigp1231 opened this issue Mar 8, 2020 · 2 comments
Closed

Anti-Aliasing not working >= 1.66.0 #8671

craigp1231 opened this issue Mar 8, 2020 · 2 comments

Comments

@craigp1231
Copy link

craigp1231 commented Mar 8, 2020

It seems as though Anti-Aliasing has stopped working since version 1.66.0.

https://sandcastle.cesium.com/?src=Polyline.html&label=All

image

When reverting back to version 1.65.0, the AA seems to work as expected.

Version 1.65.0 - Anti-Aliasing working
image

Version 1.66.0 - Anti-Aliasing not working
image

Version 1.67.0 - Anti-Aliasing still not working
image

@craigp1231
Copy link
Author

Consequently setting useBrowserRecommendedResolution: false resolves the issue. Is this a bug or not?

@lilleyse
Copy link
Contributor

lilleyse commented Mar 8, 2020

@craigp1231 it's not a bug, we changed the default behavior in 1.66. From CHANGES.md

  • useBrowserRecommendedResolution flag in Viewer and CesiumWidget now defaults to true. This ensures Cesium rendering is fast and smooth by default across all devices. Set it to false to always render at native device resolution instead at the cost of performance on under-powered devices. #8548

Technically it's still not applying anti-aliasing, the aliasing is just less noticeable because it's rendering at higher resolution on high density displays. If you want to enable anti-aliasing as well you can set viewer.scene.postProcessStages.fxaa.enabled = true.

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

No branches or pull requests

2 participants