You are not logged in.

#1 2023-08-21 05:06:18

daerlnaxe
Member
Registered: 2023-08-01
Posts: 5

A way to add effect on a window or all the desktop

Hi everybody,

I'm looking for a way to add effects on a window or all the desktop like adding scanlines, geometry. Perhaps there is a progam doing already that ? I know some languages but i never made games or such a work and i ask myself if it's possible in first time to capture content of a window or if there is securities.

If you have some advices or tracks to help me.

I'm working on a retro project, and i need to add at least scanlines on a window (or all desktop), since i success to add one effect i could add a plugin systems .


Thx.

Offline

#2 2023-08-21 06:11:02

seth
Member
Registered: 2012-09-03
Posts: 51,813

Re: A way to add effect on a window or all the desktop

This drastically depends on the display server / compositor you're using.
In case of X11 you could simply add an override_redirect window w/ a full ShapeInput and a partial visual mask that makes 2 out of three lines transparent (google for XFixesSetWindowShapeRegion )

If you want a translucent effect, bloom etc. you'll need a compositor and you'll either have to depend on one that allows you to write effect plugins or write/fork one yourself.

Online

#3 2023-08-21 16:49:26

daerlnaxe
Member
Registered: 2023-08-01
Posts: 5

Re: A way to add effect on a window or all the desktop

Big big THX !

I will see what i can do, you save me many hours of research just to know where to start !!!

Offline

Board footer

Powered by FluxBB