Can I apply a shader to the whole screen?
Is there a way to apply a apply an opengl shader to the entire screen in either gnome or kde using Wayland? I know hyprland has something like that, but I don't use tiling WMs.
I have an ald projector that I mainly use for game streaming or jellyfin, that has misaligned RGB panels. This model in particular cannot be adjusted, you can only replace the prism assembly all together (which I have no intention of buying). But I have tested that shader that simply samples about one pixel to the left/right is enough to fix the problem almost entirely.
Also, it would be perfect if I could also pass to the shader a uniform sampler of an image file, that I need to perform some extra color corrections. The green color is weaker on some areas, and I have a picture to use as a mask of those areas.
Maybe you could use Kwin scripting API for this
KDE has a shader desktop background plugin that you could sample for this.