Dampened Bloom:
Demonstration to show the new Dampened Bloom effect I implemented to Skyrim ENB. It dampens the BRIGHTEST parts of the image without changing the midtone or dark parts. Reducing burning hair, grass or any over bright surface at mid day. Again it's highly configurable for day/night/interior and sensitivity.
http://imgur.com/a/ZSHWI
Highlight Bloom:
Here I want to show the new bloom code I call "Highlight Bloom". Demo the difference it brings to the Skyrim ENB bloom effects. As it is named, with this feature enabled, bloom only boosts the brightest parts of the image, leaving the mid-tone/darker parts mostly untouched, and it is configurable separately for day/night/interior.
http://imgur.com/a/fgMmj
As for how they work, I think the code itself is explanatory enough. And you can see the coding standard I followed Jawz
Code: Select all
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
// Modified by "wonderfulmore" aka "WM"
// Based on Jawz'
// "DNI-DN enbeffect.fx files or
// Exterior/Interior Day and Night separation"
// 05/31/2013 version
//
// Change Log:
// -------------- 06/17/2013 --------------
// Added two new bloom effect "Highlight Bloom" and "Dampened Bloom"
// Rearranged post processing code sequence to be compatible with Boris default .fx file
// Revert palette code to Boris default version to be compatible with default .fx (Palette mix is not working as intended in this file! You can use palette but avoid using palette mix, the result would be unpredictable.)
// Incorporated Bronze316's diffuse bloom code
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//
//++CREDITS++++++++++++++++++++++++++++++++++++++++++++++++++++++/
// Boris: Author of ENBSeries and for providing the math of "Highlight Bloom" and "Dampened Bloom".
// Bronze316: Author of "diffuse bloom".
// Jawz: Author of DNI-DN enbeffect.fx
// Kermles: Author of initial Final Adjustments. //
// MTichenor: Author of inital Vanilla Adaptation, //
// Vanilla Bloom and Flip code. //
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/
Code: Select all
#define HIGHLIGHT_BLOOM 1 // WM: Only bloom the brightest parts of the screen, leave midtone and dark parts untouched.
#define DAMPENED_BLOOM 1 // WM: Dampenes the brightest bloom, preventing blinding surface under intense sunlight.
Code: Select all
#if (HIGHLIGHT_BLOOM==1)
// WM: parameters for HIGHLIGHT BLOOM.
// These numbers are fine tuned to make the bloom effect about half effective at midtone. Only turned on for Nights by default.
// Don't change the parameters unless you understand the math!
//Exterior Night, Day
float2 BTthresholdExt = float2( 2.1, 2.1 ); // WM: the higher the value, the lower the brightness threshold.
float2 BTsensitivityExt = float2( 6.5 , 6.5 ); // WM: how fast the dampen change from no bloom to normal bloom.
float2 BTcontrolExt = float2( 1.0 , 0.0 ); //WM: how effective is this effect. 1 to be fully effective, 0 to turn off
//Interior Night, Day
float2 BTthresholdInt = float2( 2.1, 0.333 );
float2 BTsensitivityInt = float2( 6.5 , 5.0 );
float2 BTcontrolInt = float2( 1.0 , 0.0 );
#endif
//-----------------------------------------------------------------------------------------------------------
#if (DAMPENED_BLOOM==1)
// WM: These numbers are fine toned to only dampen about the top 5-10% bloom by 5%. Only turned on for Exterior Day by default.
// WM: Don't change the parameters unless you understand the math!
//Exterior Night, Day
float2 DBAmountExt = float2( 0.7, 0.7 ); // WM: the larger the more the bloom gets dampened
float2 DBsensitivityExt = float2( 7.0 , 7.0 ); // WM: how fast the dampen falloff from top to midtone, also affects the dampen amount
float2 DBcontrolExt = float2( 0.0 , 1.0 ); // WM: how effective is this effect. 1 to be fully effective, 0 to turn off
//Interior Night, Day
float2 DBAmountInt = float2( 0.7, 0.7 );
float2 DBsensitivityInt = float2( 7.0 , 7.0 );
float2 DBcontrolInt = float2( 0.0 , 0.0 );
#endif
https://drive.google.com/folderview?id= ... sp=sharing
Enjoy and let me know any issues/thoughs