SKYRIM
Tweakable DoF and Bokeh shader for ENB by Soulwynd
Skyrim » Visuals and graphics
Added: 17/10/2013 - 05:12PM
Updated: 01/12/2014 - 11:04PM

200 Endorsements

13 Latest version

2,256 Unique D/Ls

3,595 Total D/Ls

28,534 Total Views

Uploaded by soulwynd

Description

Last updated at 23:04, 1 Dec 2014 Uploaded at 17:12, 17 Oct 2013

Features
  • Tilt shift (by gp65cj04)
  • Completely Tweakable settings
  • Flicker effect for Bokeh
  • DoF noise, either static or animated
  • Fully explained shader settings
  • Fully integrated with ENB's in game menu via shift+enter
  • Day/Night/Interior options for settings
  • Five bokeh shapes included
  • Able to create custom Bokeh shapes (If you have enough patience)
  • Illusions! I mean Cornsweet illusion, thanks to unsharp masking the depth and applying it to color, enhancing the sense of depth.
  • Now with two flavors, performance or tweakable


Current shapes:
  • Pentagonal edge, for low quality settings
  • Pentagonal poisson
  • 5 point star poisson
  • 4 point star poisson
  • HQ Pentagonal lens for screenshots (Quality goes up to 28, remember to set it back to at least 10 before changing back to any other lens shape)
  • Octagonal poisson for those who think pentagonal lenses are cheap
  • HQ Octagonal poisson

Comments and suggestions are appreciated. If you have any shader ideas, either DoF related or not, please let me know.

If you have any preset/suggestion for the shader settings, let me know as well and I will include here.




Planned updates
  • Nothing at the moment, suggest something?



Installation
-Have ENB running with or without a preset
-Make a backup copy of your enbeffectprepass.fx from the main skyrim folder
-Rename the file you want to use to enbeffectprepass.fx and copy it into the skyrim folder
-Edit with a text editor to change #defines and read the settings explanations
-Uncomment #define TWEAK to change settings in game with shift+enter. Settings are saved to "/enbseries/enbeffectprepass.fx.ini" Just delete this file if you want to go back to default settings.
Tested with ENB 221, ENB 229, ENB 233 and True Vision



Known issues
-Trees have issues with DoF due to the transparency they use. Seems like depth isn't passed through correctly, so DoF thinks leaves should be at the same focus as the sky. Nothing I can do to fix that, I'm afraid.
-There may be an issue with chromatic aberration and the sky, I haven't seen it yet but the code looked at me and complained about its existence, so we will see.
-Apparently ENB can't directly compile a shader with a really large loop even tho I can compile this elsewhere. So in order to use lens 5, have to apply the file with a lower quality and then crank it up to max in game.

Please do report any bugs you find or any feature that borks everything and turns DoF off.



Presets using these shaders (that I know of) in no particular order
Somber ENB Lut Sepia
E ENB



Permissions
You're free to modify, copy, upload, include in your preset, print and use it as toilet paper, made derivative works from, adapt to other shaders, and anything possibly imaginable without any explicit permission.

Credits to my work would be appreciated, but not necessary.

Credits to the work of others before me, as included bellow, are most likely necessary.



Credits
-DoF is based on concepts and articles from: GPU Gems and Thorsten Scheuermann
-DoF Adaptation to ENB by Boris Vorontsov
-Tilt Shift, original bokeh (removed and rewritten) and possible modifications by gp65cj04



Thanks to Bronze316 and his True Vision preset for inspiring me into writing this shader.



Hey, you. Yes, you. Wanna try something silly and ugly instead?