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

Support WebGL2 with fallback to WebGL1 #14377

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mike-000
Copy link
Contributor

@mike-000 mike-000 commented Dec 15, 2022

Attempt to support WebGL2 with fallback to WebGL1 using a version uniform. Potential alternative to #14366

A consequence of using WebGL2 is that styles (even the default RGBA style) should not reference bands beyond the bandCount. Two band (or single band GeoTIFF with alpha added) sources will need an explicit style. The cog-blob example demonstrates compatibility on systems with and without WebGL2, although a forced WebGL test is still needed.

@github-actions
Copy link

📦 Preview the website for this branch here: https://deploy-preview-14377--ol-site.netlify.app/.

@mike-000 mike-000 marked this pull request as draft December 15, 2022 19:05
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.

None yet

1 participant