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

[WIDGET] Shader Canvas #1273

Open
mantacid opened this issue Jan 17, 2025 · 0 comments
Open

[WIDGET] Shader Canvas #1273

mantacid opened this issue Jan 17, 2025 · 0 comments

Comments

@mantacid
Copy link

Description of the widget

This widget would allow GLSL to be rendered to the widget. This could be combined with EWW's existing systems and user-made scripts to make reactive displays that can't be otherwise achieved.
I'd also recommend implementing a uniform that allows the set wallpaper to be passed in as a sampler2D, so that the state of the system can apply post-processing effects to the wallpaper.

Implementation proposal

The Gsk.GLShader widget could work perfectly for this. Additionally, if the eww implementation could grab the rendered state of inline yuck, it could inject itself into the rendering process and allow for post-processing effects on other widgets.

Example usage

  • using a script to get data from the system audio, one can make reactive audio visualizers on their desktop.
  • Overlaying invisible EWW ui elements over a shader representation of them could allow for some really interesting animation effects.
  • weather widgets that display conditions as an animated scene.
  • edge outlines that change color depending on mouse location.

Additional context

No response

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

1 participant