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

brush: remake blur brush as 4 box blur passes #6

Open
mrgaturus opened this issue Dec 3, 2023 · 0 comments
Open

brush: remake blur brush as 4 box blur passes #6

mrgaturus opened this issue Dec 3, 2023 · 0 comments

Comments

@mrgaturus
Copy link
Owner

current blur implementation is tricky: downscaling -> blur -> upscaling

  • it works very fast enough but it does many pixel sampling and is not cache friendly
  • 4 box blur passes are cache friendly with low pixel sampling and aproximates gaussian blur better
@mrgaturus mrgaturus changed the title blur brush: remake as 4 box blur passes brush: remake blur brush as 4 box blur passes Dec 3, 2023
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