Skip to content

feat: add blur node#149

Merged
WillPower3309 merged 13 commits intowlrfx:mainfrom
the-eater:blur-source
Nov 6, 2025
Merged

feat: add blur node#149
WillPower3309 merged 13 commits intowlrfx:mainfrom
the-eater:blur-source

Conversation

@the-eater
Copy link
Member

@the-eater the-eater commented Nov 2, 2025

This feat adds a blur node that will blur any region underneath it, and handle damage tracking etc (because it already existed, and now I get to use it for free stolen from the other nodes)

Changes

  • Add blur node
  • Remove all blur logic from buffer and rect nodes
  • Add clipping logic to both blur and texture pass

Fixes

Credit

@ErikReider once again for the struct linked_node

@the-eater the-eater changed the title new node: blur sourc (2.0) new node: blur source (2.0) Nov 2, 2025
Copy link
Member

@WillPower3309 WillPower3309 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly what I was looking for! I do have a couple small comments though. Great work!

@WillPower3309 WillPower3309 changed the title new node: blur source (2.0) feat: add blur node Nov 4, 2025
@WillPower3309 WillPower3309 linked an issue Nov 4, 2025 that may be closed by this pull request
@the-eater the-eater marked this pull request as ready for review November 5, 2025 15:09
Copy link
Member

@WillPower3309 WillPower3309 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth noting as well that the mask bit is irrelevant for RGBX, since we don't have opacity for those nodes (other than the opacity we pass, which would either make it translucent or completely transparent, so no need for masking)

@the-eater
Copy link
Member Author

Worth noting as well that the mask bit is irrelevant for RGBX, since we don't have opacity for those nodes (other than the opacity we pass, which would either make it translucent or completely transparent, so no need for masking)

Yeah, it allows masking a RGBX texture, but not with a different RGBX texture

It's just covered in shader also, but none are linked with rgbx

@WillPower3309 WillPower3309 merged commit 7f9e740 into wlrfx:main Nov 6, 2025
the-eater added a commit to the-eater/scenefx that referenced this pull request Nov 11, 2025
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

Successfully merging this pull request may close these issues.

create blur_node Single pixel buffers aren't blurred

2 participants