Skyrim

File information

Last updated

Original upload

Created by

Soulwynd

Uploaded by

soulwynd

Virus scan

Safe to use

About this mod

Tweakable bokeh shader for ENB and ENB presets. Intended for preset makers and users with the patience to tweak it to work with their own settings.

Requirements
Permissions and credits
Changelogs
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 "<skyrim folder>/enbseries/enbeffectprepass.fx.ini" Just delete this file if you want to go back to default settings.<br><strong><font style="color: yellow;">Tested with ENB 221, ENB 229, ENB 233 and True Vision</font></strong><br><br><div class="line"></div><br><br><strong><font style="color: red;">Known issues</font></strong><br>-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.<br>-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.<br>-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.<br><br><font style="color: yellow;">Please do report any bugs you find or any feature that borks everything and turns DoF off.</font><br><br><div class="line"></div><br><br><strong><font style="color: red;">Presets using these shaders (that I know of) in no particular order</font></strong><br><a href="http://skyrim.nexusmods.com/mods/41465/">Somber ENB Lut Sepia</a><br><a href="http://skyrim.nexusmods.com/mods/34966/">E ENB</a><br><br><div class="line"></div><br><br><strong><font style="color: red;">Permissions</font></strong><br>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.<br><br>Credits to my work would be appreciated, but not necessary.<br><br>Credits to the work of others before me, as included bellow, are most likely necessary.<br><br><div class="line"></div><br><br><strong><font style="color: red;">Credits</font></strong><br>-DoF is based on concepts and articles from: <a href="http://http.developer.nvidia.com/GPUGems3/gpugems3_ch28.html">GPU Gems</a> and <a href="http://developer.amd.com/wordpress/media/2012/10/Scheuermann_DepthOfField.pdf">Thorsten Scheuermann</a><br>-DoF Adaptation to ENB by Boris Vorontsov<br>-Tilt Shift, original bokeh (removed and rewritten) and possible modifications by <a href="http://skyrim.nexusmods.com/mods/24024/">gp65cj04</a><br><br><div class="line"></div><br><br>Thanks to Bronze316 and his <a href="http://skyrim.nexusmods.com/mods/15983/">True Vision</a> preset for inspiring me into writing this shader.<br><br><div class="line"></div><br><br><strong><font style="color: red;">Hey, you. Yes, you. Wanna try something silly and ugly instead?</font></strong><br><a href="http://skyrim.nexusmods.com/mods/46024/"><div class="img-wrapper "> <img src="http://i.snag.gy/gkEfz.jpg"> </div></a></skyrim>