Skip to content

RuntimeEffect additions to implement https://shades.skia.org/ #320

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

Open
HinTak opened this issue Apr 23, 2025 · 0 comments · May be fixed by #322
Open

RuntimeEffect additions to implement https://shades.skia.org/ #320

HinTak opened this issue Apr 23, 2025 · 0 comments · May be fixed by #322

Comments

@HinTak
Copy link
Collaborator

HinTak commented Apr 23, 2025

I have got a demo https://github.com/HinTak/skia-python-examples/blob/main/SkSL_ShaderMulti%2BSDL2.py which does most of https://shaders.skia.org in python now. It is quite pretty but with some hacks. I realise I need to add SkV2 and float as uniform, too, to remove those hacks. The code exists in my hard disk now.

Just a placeholder for a pull.

@HinTak HinTak mentioned this issue May 3, 2025
HinTak added a commit to HinTak/skia-python that referenced this issue May 4, 2025
….setUniform

SkV2 maps naturally to (x,y) co-ordinates for RuntimeEffect, and
probably should have been added earlier.

Part of kyamagu#320
HinTak added a commit to HinTak/skia-python that referenced this issue May 4, 2025
HinTak added a commit to HinTak/skia-python that referenced this issue May 4, 2025
@HinTak HinTak linked a pull request May 4, 2025 that will close this issue
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 a pull request may close this issue.

1 participant