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

Use GLES fragment shader as filters #26

Open
chenzx opened this issue Apr 20, 2022 · 0 comments
Open

Use GLES fragment shader as filters #26

chenzx opened this issue Apr 20, 2022 · 0 comments

Comments

@chenzx
Copy link

chenzx commented Apr 20, 2022

Use SVG filters is not flexible enough, i pref using custom GLES fragment shader for filter, which provides most flexibles while not need to switch to WebGL/WebGPU.

The background: I'm using canvas2d to build a web-based UI editor framework, which is not a build-from-scratch, but mitigation from an old legacy C++ codebase. For some reason, compiling to WebAssembly + WebGL is too heavy, & i prefer using canvas2d first...

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

1 participant