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

WebGL 2.0 #47

Open
Marqin opened this issue Oct 30, 2016 · 1 comment
Open

WebGL 2.0 #47

Marqin opened this issue Oct 30, 2016 · 1 comment

Comments

@Marqin
Copy link

Marqin commented Oct 30, 2016

It seems that WebGL 2.0 is not supported.

http://glslsandbox.com/e#36446.0 gives:

e:787 ERROR: unsupported shader version

while my browsers support WebGL 2.0 and all samples work fine on them.

@charlietsao
Copy link

The reason is here:

gl = canvas.getContext( 'experimental-webgl', { preserveDrawingBuffer: true } );

Here, experimental-webgl implies WebGL 1.0, and should be motified to webgl2 or experimental-webgl2.

Be carful not to break WebGL 1.0 support.

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