Smart Bloom

Post your awesome Wire patches here, share tutorials
Post Reply
User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Smart Bloom

Post by Sjan Top »

Hi smooth pixels pushers.

I have a new addition to my search for fast blurs.
Now the inspiration comes from the game industry, downsampling the crap out of textures :)
This patch uses four levels of resolution, this way, when slide the Gaussian parameter the small detail stay preserved. If value goes above 1 the small features get also blurred.

For poppy additive bloom there are some settings and and a quick lock, for if you need to move fast.

The High Pass button convert the effect to a sharpening filter, this is the nice way to sharpen, because it is responsive to feature size. (it is a post effect, so heavier than the Bloom)

In the quest to make it fast there a some caveats,
1) Big blurs still affect FPS, so if you what small blurs limit max range (Gaussian multiply)
2) very small features are not always render nice, that ware the render resolution is for. (Render resolution
3) big blur needs more bit depth to nice gradients. (Bit depth)
4) Alpha is pre-muliply when it enters the patch, so when we blur we get dark edge around the alpha, so there some options to pick you poison.
Attachments
Smart Bloom.wire
(320.1 KiB) Downloaded 593 times
Smart Bloom.wired
(269.84 KiB) Downloaded 571 times
Smart Bloom.jpg

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: Smart Bloom

Post by Sjan Top »

I made a new version, smarter, less parameters to get lost in.
Small blurs are renderd at a 1/2 resolution, the largest size are renderd at 1/16. The Gaussian slider controls it all for you in the background. But keep in mind that larger blurs are faster then small ones.

Patch uses allot of switches to bypass inactive nodes to keep frame rates high.
Attachments
Untitled.jpg
Fast Blur V2.wire
(302.74 KiB) Downloaded 275 times

User avatar
cosmowe
Posts: 1625
Joined: Fri Mar 25, 2011 10:27
Location: cologne // germany

Re: Smart Bloom

Post by cosmowe »

This is Awesome!!!! Thank you!
Image Do you like outlines? Easy Outliner on Juicebar

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: Smart Bloom

Post by Sjan Top »

cosmowe wrote: Fri Jan 31, 2025 19:23 This is Awesome!!!! Thank you!
Yes!
its very powerful concept when you want to build stuff in Wire.
I have also a topic about optimization of patches on the forum.

Post Reply