FakeDOF

  • Posts: 262
7 months 2 weeks ago - 7 months 2 weeks ago #1 by brussell
Some time ago someone requested some type of circular tilt shift shader and I decided to enhance my personal solution into something more advanced.
FakeDOF replaces the real depth information with a customizable texture. Use it if the depth buffer can't be read, doesn't work properly, or simply for artistic purpose.
Note that FakeDOF itself doesn't blur/apply bokeh, you have to use one of the DOF Shaders for that task.

Example shots with centered focus parameters + MatsoDOF(Doom3):



Installation:
Download FakeDOF.fxh and ReShade.fxh (latter is necessary since FakeDOF needs to replace the GetLinearizedDepth function) from my repository .

Usage:
To enable FakeDOF, set the preprocessor definition "RESHADE_USE_FAKE_DEPTH". After that, parameters should show up in the list of shaders.
Here is a demonstration configuration video (with displaydepth enabled).
For now, you can change the blur curve and focus radius via the three parameters a, b, c.
The following user(s) said Thank You: Tom Yum 72, jas01, Aelius Maximus, Qsimil, XIIICaesar, WalterDasTrevas, Viper_Joe, AssassinsDecree, Essovius, nikobellic

Please Log in or Create an account to join the conversation.

  • Posts: 57
7 months 6 days ago #2 by XIIICaesar
What ReShade settings are you using dude? Looks great.

Please Log in or Create an account to join the conversation.

  • Posts: 89
5 months 4 days ago #3 by AssassinsDecree
Umm, f**k yes! Thanks so much!

Please Log in or Create an account to join the conversation.