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

Fix globe atmosphere precision on Android/iOS-OpenGLES #11610

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

astojilj
Copy link
Contributor

@astojilj astojilj commented Mar 15, 2022

After porting to gl-native, it is noticeable that computation and varying require highp in OpenGL ES. E.g. Pixel 5, before after:

Screenshot 2022-03-15 at 21 50 49

Launch Checklist

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
    - [ ] write tests for all new functionality tests exist, gl native tests this on various hardware.
    - [ ] document any changes to public APIs
    - [ ] post benchmark scores
  • manually test the debug page
  • tagged @mapbox/map-design-team @mapbox/static-apis if this PR includes style spec API or visual changes
  • tagged @mapbox/gl-native if this PR includes shader changes or needs a native port
    - [ ] apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
    - [ ] add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog></changelog>

Computation and varying require highp in OpenGL ES.
@astojilj astojilj self-assigned this Mar 15, 2022
@astojilj astojilj changed the title Fix globe atmosphere precision on Android Fix globe atmosphere precision on Android/iOS-OpenGLES Mar 15, 2022
@karimnaaji karimnaaji merged commit 7e22ebf into main Mar 15, 2022
@karimnaaji karimnaaji deleted the astojilj-precision branch March 15, 2022 20:32
ahocevar pushed a commit to ahocevar/mapbox-gl-js that referenced this pull request Mar 23, 2022
Computation and varying require highp in OpenGL ES.

Co-authored-by: Aleksandar Stojiljković <[email protected]>
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.

2 participants