Welcome, Guest.
Username: Password: Remember me

TOPIC: Bloom from Enbseries Generic v76

Bloom from Enbseries Generic v76 4 months 3 weeks ago #1

Is it possible to recreate the bloom from this Enb in Reshade?
http://imgur.com/8fcmD6D
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 3 weeks ago #2

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
Sure. Only problem I see is that the enbbloom.fx is not well documented so it's not easily discernable what pass runs how often and what input and output texture there is (the technique has no info for that as I know that one pass runs multiple times). I can however recreate the DX11 bloom from ENBSeries for Fallout 4.
Last Edit: 4 months 3 weeks ago by Marty McFly.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 3 weeks ago #3

  • Elimina
  • Elimina's Avatar
  • Offline
  • ΞLIMINΛ
  • Posts: 329
  • Thank you received: 357
Marty McFly wrote:
I can however recreate the DX11 bloom from ENBSeries for Fallout 4.

I also second the idea of implemenitng something similar to the multipass bloom for fallout 4 enbseries. I has a very similar look compared to UE 4 in the modern enb preset which uses the bloom

The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 3 weeks ago #4

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
HDR bloom always looks cool. So, I've ported the Fallout 4 bloom with some modifications, here. I used the natural bloom modification by MaxTheUniqueGamer however as his tweaks make the bloom look smoother.

pastebin.com/VteB1rYi

standalone, not Framework/MasterEffect compatible. No external textures required.
ECC level adjustment in and out works like this: ECC_IN_BLACK 0.8 and ECC_OUT_BLACK 0.0 means that a pixel that has a brightness of 0.8 is mapped to 0.0 in output so anything darker than 0.8 is pure black. ECC_IN_WHITE 1.0 and ECC_OUT_WHITE 5.0 means that a pixel with brighness 1.0 is mapped to 5.0 in output. This is a very clever form of smooth thresholding. Very simple to use once you get used to it. For basic usage, leave ECC OUT BLACK at 0.0. Then IN BLACK and IN WHITE basically are smooth threshold and ECC OUT WHITE is the bloom intensity.
Last Edit: 4 months 3 weeks ago by Marty McFly.
The administrator has disabled public write access.
The following user(s) said Thank You: Elimina, Tycholarfero, Kuhlmann

Bloom from Enbseries Generic v76 4 months 3 weeks ago #5

  • MaxG3D
  • MaxG3D's Avatar
  • Offline
  • Posts: 27
  • Thank you received: 2
It's nice to see the Natural Bloom ported to ReShade but I remember Boris saying that the current shader is very inefficient and even in the code there was a comment that the shader cycle losses a lot of pixels. Wouldn't it be better to port bloom from Skyrim version for instance?
Last Edit: 4 months 3 weeks ago by MaxG3D.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 3 weeks ago #6

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
Blur code is ineffective, yes, but not that bad, it's basically sampling everything in a square and discarding those outside of the largest circle fitting into the square. The blur algorithm itself can be replaced with something more effective, I just ported the default one. DooM 4 bokeh DOF code could be used, it's single pass circular blur.
The regular enbbloom.fx, I already said that the structure is not documented anywhere. For the fallout one, the technique makes car what pass comes after another but in the Skyrim one bloom pass 1 and 2 run multiple times with different internal parameters for blur width (even though they only show up once in the technique) etc. The work needed to port that isn't worth it, stock enb bloom isn't that good, you can see repeating patterns if you look close enough.
Last Edit: 4 months 3 weeks ago by Marty McFly.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 3 weeks ago #7

It looks great. Can´t wait if it gets implemented.
i.imgur.com/4t1rjCc.jpg
Last Edit: 4 months 3 weeks ago by Kuhlmann.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 5 days ago #8

  • MaxG3D
  • MaxG3D's Avatar
  • Offline
  • Posts: 27
  • Thank you received: 2
Marty, do you think that Kingeric Bicubic filtering could replace Boris blur and thus improve the quality/performance?: http://pastebin.com/raw/RTKzjtsu
Last Edit: 4 months 5 days ago by MaxG3D.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 4 months 4 days ago #9

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
Well, you can smoothen every blur shader by using bicubic filtering instead of plain texture sample but that of course quadruples the overhead. Better use a secodn blur step after.

The wasted performance in Boris' blur is that it samples everything in a square but discards everything outside a fitting circle so these samples are wasted. Any blur algorithm that uses a circular distribution (vogel distribution is good for stuff like these) or the distribution of the DooM 4 DoF shader is fine.
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 2 months 3 days ago #10

Im just bumping this thread if it could get added to Reshade.
Also i got it working with Sweetfx 2.0 and went full saturation mode :P
imgur.com/LLlJ6DP
The administrator has disabled public write access.

Bloom from Enbseries Generic v76 2 months 2 days ago #11

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
I have been working on it lately, trying out various blur methods for maximum quality.
The administrator has disabled public write access.