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

wgpu: Fixes for blur filter quality #12276

Merged
merged 7 commits into from
Jul 26, 2023

Conversation

torokati44
Copy link
Member

@torokati44 torokati44 commented Jul 24, 2023

This is based on, and currently includes, the changes from #12225.

Turns out, the PASS_SCALES thing is not needed for actual filtering at all.

@torokati44 torokati44 added render-wgpu Issues relating to the wgpu renderer filter-effects Issues involving filter effects such as Blur, Glow, etc. labels Jul 24, 2023
@Dinnerbone
Copy link
Contributor

If its not used in actually rendering, surely you'd see the bounds of a large blur be cut off by the max texture size which is now smaller than the kernel size?

@torokati44
Copy link
Member Author

Sorry, I don't understand what you mean...

The sizes of some of the rainbow squares on bitmapdata_applyfilter_blur/expected.png?

@torokati44 torokati44 marked this pull request as ready for review July 24, 2023 09:04
@torokati44 torokati44 marked this pull request as draft July 24, 2023 10:02
@torokati44 torokati44 force-pushed the blur-quality branch 4 times, most recently from d6a0890 to 161e993 Compare July 25, 2023 19:49
@torokati44 torokati44 marked this pull request as ready for review July 25, 2023 19:50
@torokati44 torokati44 force-pushed the blur-quality branch 2 times, most recently from a867dd8 to cfddeb6 Compare July 25, 2023 20:19
@Dinnerbone Dinnerbone merged commit d1a94c5 into ruffle-rs:master Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filter-effects Issues involving filter effects such as Blur, Glow, etc. render-wgpu Issues relating to the wgpu renderer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants