Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Fast Blurs

Share your components here. First one to 100 wins!

Fast Blurs

Postby keithlostracco » Tue Jan 15, 2019 8:22 pm

Recently I built a bloom system using TD TOPs that worked decently but was a bit slow. So I thought I would rebuild it in C++ to get better performance, but on the path of building the Bloom system from scratch I did some research into different blur algorithms and came across some papers for some pretty fast blurs where you can use much bigger kernels than the standard Gaussian full sampling method with a much lower hit on the GPU.

In the component are 4 blurs:

- the TD Blur for comparison
- a separable 2 pass Gaussian blur using bilinear interpolation and offsets to get close to the actual Gaussian curve with half the samples.
- a Kawase Blur which is a multipass blur that gets closer to Gaussian curve with each pass
- Moving Average blur which uses a moving average algorithm to compute a box blur over multiple passes. Not so great for small blurs but nearly no cost increase with large kernel sizes.

cheers
Keith
Attachments
fastBlurs.tox
(4.64 MiB) Downloaded 57 times
keithlostracco
 
Posts: 864
Joined: Tue Dec 09, 2008 2:39 pm

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 1 guest