scenefx icon indicating copy to clipboard operation
scenefx copied to clipboard

Support user defined shaders

Open coreymwamba opened this issue 1 year ago • 3 comments
trafficstars

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)?

coreymwamba avatar Jul 24 '24 08:07 coreymwamba

This is a good idea! I think what we want here is essentially https://github.com/WillPower3309/swayfx/issues/110

WillPower3309 avatar Jul 24 '24 13:07 WillPower3309

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?

coreymwamba avatar Jul 24 '24 15:07 coreymwamba

tracked by https://github.com/wlrfx/scenefx/issues/60

WillPower3309 avatar Sep 18 '24 03:09 WillPower3309

closing as duplicate

WillPower3309 avatar Oct 15 '24 19:10 WillPower3309