Skip to content

Support WebGL 1 / OpenGL ES 2#10

Open
beakbeak wants to merge 3 commits into
iryoku:masterfrom
beakbeak:master
Open

Support WebGL 1 / OpenGL ES 2#10
beakbeak wants to merge 3 commits into
iryoku:masterfrom
beakbeak:master

Conversation

@beakbeak

Copy link
Copy Markdown

This adds support for OpenGL ES 2 and WebGL 1 via SMAA_GLSL_ES2 as well as support for OpenGL 2 via SMAA_GLSL_2 (only tested via OpenGL ES - the difference here is that support for while loops is not required in ES 2 and is disallowed by WebGL). The output is incorrect when using medium-precision float in the fragment shader, so highp should be used.

@grovesNL

grovesNL commented Mar 7, 2016

Copy link
Copy Markdown

Really interesting, do you have an example of this in use with WebGL?

@tylerjdrake

Copy link
Copy Markdown

Commit 461bd33 solved issues for me targeting emscripten/webgl2.

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.

3 participants