-
Notifications
You must be signed in to change notification settings - Fork 1
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
Investigate WebGL1 support #34
Comments
2021 UPDATE: WebGL1 with https://caniuse.com/?search=createVertexArrayOES Since we didn't go too crazy with extensions and features, I believe the major API change would be writing shaders in older dialect of GLSL. On top of that there would be missing features, like having much less texture formats available. We would have to detect these missing features either with runtime asserts, or somehow make all the types of Webglutenfree generic over the type of WebGL context (even if possible, this would unnecessarily complicate the API for everyone, so I don't prefer it). A list of features added to WebGL2 over WebGL can be seen here: https://webgl2fundamentals.org/webgl/lessons/webgl2-whats-new.html. This is still within the realm of possibility, but the value decreases with time, and will disappear completely once Safari supports WebGL2. |
There could theoretically be support for WebGL1 with some required extensions (VAOs).
#version 300 es
be supported?This can only be considered a win when the user doesn't need to know, whether he is using WebGL 1 or 2 under the hood. Also, need for this will disappear with time.
The text was updated successfully, but these errors were encountered: