[F4] Question regarding the lens effect

share shaders here
  • Author
  • Message
Offline
User avatar
*master*
Posts: 119
Joined: 05 Jan 2012, 22:34
Location: France

Re: [F4] Question regarding the lens effect

Sorry for the delay :oops:
Even if i'm too late you could also try that in enbeffect.fx:

this one will apply the lens dirt texture itself on the bloom, you can change the intensity of the overlay and yeah, if that's what you want...

Code: Select all

float _DirtOverlayAmount =  0.5f;
bloom += lerp(dirt * _DirtOverlayAmount,bloom,dirt);
this one just replace your bloom by the dirt itself... if that's what you want, idk
use the _DirtBlackClip stuff to increase the blacks of your lens texture to allow more "normal" bloom

Code: Select all

float _DirtBlackClip = 0.0f;
dirt = max(_DirtBlackClip,dirt);
bloom = lerp(color,bloom,dirt)
To me, bloom * saturate(dirt) makes more sense but your call :)

Offline
User avatar
*sensei*
Posts: 341
Joined: 27 Dec 2011, 21:33
Location: Poland, Gdańsk

Re: [F4] Question regarding the lens effect

@icelaglace

Yeah, "saturate" method currently works perfectly, I think Boris should make it default cause it really works much better than default. Thanks for all the help, you guys are awesome :)
_________________
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor

l00
Offline
User avatar
*master*
Posts: 112
Joined: 30 Jan 2016, 11:26
Location: France

Re: [F4] Question regarding the lens effect

Thanks guys, very helpful.
_________________
Released ENB: PRC - PRT - Painterly' | FO4 mods: NAC | Videos: ::Virtual.Camera::
Post Reply