DOF extra & ALF effect 3/13 2015

share shaders here
  • Author
  • Message
Offline
Posts: 4
Joined: 23 Mar 2015, 11:57

Re: DOF extra & ALF effect 3/13 2015

@wolfgrimdark: nice! Hadn't thought of completely getting rid of the background using this! (in the solana pictures) Good suggestion too about the amount of applying the effect.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 506
Joined: 02 Aug 2013, 23:06
Location: New Hampshire, US

Re: DOF extra & ALF effect 3/13 2015

Hey thanks very much Kingerick! Worked great. I had to fix to small things in the code (like spelling on saturate) but then it worked like a charm. I assumed there would be a variable with a percentage that you would multiply with but I don't know the functions - so saturate is the function to use it seems. Someday will spend some time picking up some of the basics.

I also like how this change lets you also have more control over both Mode 1 and Mode 2 as far as blending tints and desaturation.

Mode 0 - Normal
Image

Mode 1 - 100% desat
Image

Mode 1 - 60% desat
Image

Mode 2 - 60% desat and 80% factor with RGB - 0,0,0
Image

GUI
Image
_________________
Intel Core i9-9900K CPU @ 3.6 GHz // GeForce RTX 2080 Ti VRAM 11GB // Win10 64 and 64GB Ram // Monitor 2560x1440@144

Offline
Posts: 4
Joined: 22 May 2013, 11:28

Re: DOF extra & ALF effect 3/13 2015

wolfgrimdark wrote:Hey thanks very much Kingerick! Worked great. I had to fix to small things in the code (like spelling on saturate) but then it worked like a charm. I assumed there would be a variable with a percentage that you would multiply with but I don't know the functions - so saturate is the function to use it seems. Someday will spend some time picking up some of the basics.

I also like how this change lets you also have more control over both Mode 1 and Mode 2 as far as blending tints and desaturation.

Mode 0 - Normal
Image

Mode 1 - 100% desat
Image

Mode 1 - 60% desat
Image

Mode 2 - 60% desat and 80% factor with RGB - 0,0,0
Image

GUI
Image

Hi wolfgrimdark could you put your modified version enbeffectprepass.fx here?

Offline
User avatar
*blah-blah-blah maniac*
Posts: 506
Joined: 02 Aug 2013, 23:06
Location: New Hampshire, US

Re: DOF extra & ALF effect 3/13 2015

sattium wrote: Hi wolfgrimdark could you put your modified version enbeffectprepass.fx here?
Well I would feel weird doing that as I didn't really do anything - they did all the work. I just added the code and tweaked some settings to what I liked.

If you want to nab the version I edited you can find it on the GS page under the Jyggalag preset:

Here is the direct link for the download: http://www.nexusmods.com/skyrim/download/1000153610
_________________
Intel Core i9-9900K CPU @ 3.6 GHz // GeForce RTX 2080 Ti VRAM 11GB // Win10 64 and 64GB Ram // Monitor 2560x1440@144

Offline
*blah-blah-blah maniac*
Posts: 565
Joined: 05 Apr 2014, 10:29
Location: Taiwan

Re: DOF extra & ALF effect 3/13 2015

Beta update:

-add new parameter "RScale" under bokeh blur to reduce rendering scale of main pass, increase performance.
-reduce aliasing when using optical vignette.
-optimization suggested by OtisInf
-pass blur amount to alpha at final output, ( range [0, 1]), CoC color trick supported in enbeffect.fx.
-fix some typo...

[Edit: file removed, found a bug.]
Last edited by kingeric1992 on 11 Jul 2015, 12:28, edited 1 time in total.
_________________
Intel Xeon L5639 6C12T @3.96GHz | Gigabyte ga-x58a-ud3r | MSI GTX680 4G | 48G RAM | Intel 760p Nvme w clover bootloader
Flickr
YouTube

Offline
Posts: 4
Joined: 11 May 2015, 04:04

Re: DOF extra & ALF effect 3/13 2015

Hello,

I absolutely love your DOF effects, it's so beautiful it makes me weep to see it.

I was wondering... this might be a stupid question... but I was wondering if there was a way to make a version that doesn't require ENB? Like DynaVision on the Nexus?

Although I enjoy using an ENB like Snapdragon or RealVision for screenshots I also turn off ENB series and just use the speedhack for gaming because my FPS increases from 15 to 60.

Just curious if there was a way to use your DOF for non-ENB gaming.

Thanks, and again, love your creation. It's gorgeous.

Image

Offline
*blah-blah-blah maniac*
Posts: 565
Joined: 05 Apr 2014, 10:29
Location: Taiwan

Re: DOF extra & ALF effect 3/13 2015

Hi vram,
Nice portrait shot.

About ENB performance, DOF itself is costing some serious frame rate depending on the settings.

Lowering "quality" under "bokeh settings" in shader menu(shift + enter) [enbeffectprepass.fx] should help in some degrees, depend on systems.
Also I've added "RScale" in the beta release, 0.5 = max performance.

In general cases, performance drop under quality 2~4 should be acceptable, both visual and frame rate, otherwise, I would recommend using other DOF shader like Matso's dof or "Separable Hex" in the first post, or just use dynavision for gameplay instead.
_________________
Intel Xeon L5639 6C12T @3.96GHz | Gigabyte ga-x58a-ud3r | MSI GTX680 4G | 48G RAM | Intel 760p Nvme w clover bootloader
Flickr
YouTube

Offline
User avatar
Posts: 50
Joined: 12 Dec 2013, 15:11

Re: DOF extra & ALF effect 3/13 2015

I like the beta update from May 6th a lot, however on FNV (not sure if you can reproduce) I'm getting this extreme darkening of whatever is in focus. Works fine in Skyrim however on the exact same parameters.

Image

Offline
*blah-blah-blah maniac*
Posts: 565
Joined: 05 Apr 2014, 10:29
Location: Taiwan

Re: DOF extra & ALF effect 3/13 2015

Thanks for the report.

If that's the case, it would most likely be something about the compiler in the binary. (possible blending mode related?)
There might be some fix on my ends, but I can't really test it in NV.
So, allow me to gather some thought and ask if Boris has any thought on this.

Edit:
Ignore what I said before.
It just came to me that the Beta update require specific texture resource, texOriginal, to work properly. Which had been added to skyrim ENBmod a while ago on request, NV mod probably wasn't received the same update.
_________________
Intel Xeon L5639 6C12T @3.96GHz | Gigabyte ga-x58a-ud3r | MSI GTX680 4G | 48G RAM | Intel 760p Nvme w clover bootloader
Flickr
YouTube

Offline
User avatar
*sensei*
Posts: 446
Joined: 17 Apr 2014, 22:12
Location: Schweden

Re: DOF extra & ALF effect 3/13 2015

Hey Eric King. I just wanted to pass over a huge THANK YOU. Your sunsprite shader is so gorgeous I just wanna link my monitor.

And this DoF of yours?
Image
_________________
| i5 3350p @3.1 | 16 GB RAM | GTX1060 | Skyrim on SSD |
My Flickr
My Soundcloud
CGI ENB
Post Reply