Page 1 of 1

Smart Bloom

Posted: Sat Nov 02, 2024 13:16
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.

Re: Smart Bloom

Posted: Thu Jan 30, 2025 23:06
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.

Re: Smart Bloom

Posted: Fri Jan 31, 2025 19:23
by cosmowe
This is Awesome!!!! Thank you!

Re: Smart Bloom

Posted: Fri Jan 31, 2025 23:17
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.