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
How to use textures as input? #1
Comments
I haven't tried it myself, but from documentation you should be able to pass And If you are successful, it would be cool to report back your experience or a minimalist example (e.g. link to Git repo). |
Thats exactly what I could not find. Thanks a lot. I will report back soon. |
I've done it! Thanks a lot. Feel free to use any of this as an example in your project: |
Well done! Now we can also use RepaintBoundary to post-process the rendered ui 😄 |
Oh wow, I didn't even think of that. But then you would need to overlay the processed image of the ui on top of the ui. Do gestures and such still work behind the ShaderPainter? |
Yes you can place |
Hi, I am trying to use these shaders for image processing. I've read in the flutter documentation that sampler2D is a valid uniform as an input to the shader. However I cannot find a way to generate that uniform in dart since it is not just a double. Is there a specific type for that exposed in the API?
The text was updated successfully, but these errors were encountered: