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

Support user defined shaders #53

Open
coreymwamba opened this issue Jul 24, 2024 · 3 comments
Open

Support user defined shaders #53

coreymwamba opened this issue Jul 24, 2024 · 3 comments

Comments

@coreymwamba
Copy link

This is more of an feature request: when I used to use i3 I also used picom's legacy glsl shaders to turn my screen from RGB to grayscale, or invert the colours. Having looked at the source code for scenefx (after trying—and failing—to write a script that could modify gamma ramps in wlroots) I see that it uses gles fragment shaders.

So would it be possible to add that functionality to scenefx (and thus swayfx)?

@WillPower3309
Copy link
Member

This is a good idea! I think what we want here is essentially WillPower3309/swayfx#110

@WillPower3309 WillPower3309 changed the title Adding display effects like grayscale or invert colours Support user defined shaders Jul 24, 2024
@coreymwamba
Copy link
Author

I'm really sorry I can't help much more—I'm still learning C! But am I right in thinking that you'd need to modify the files in include/render/fx_renderer?

@WillPower3309
Copy link
Member

tracked by #60

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