[REL] FPS dynamic shadows - Shadow Boost

Post » Thu Nov 26, 2015 5:23 am

24 Nov 2015: v1.2.33.0

Download: http://www.nexusmods.com/fallout4/mods/1822/

Want more fps? Then this is for you!

This plugin for Fallout 4 adds an ability to dynamically control shadow draw distance depending on desired user defined fps.

Many of you may have noticed that in some locations of Fallout 4 fps gets low even with a good hardware, like in the City, mostly it happens in the areas with lots of objects. Since the game isn't properly optimized, almost everything that it does with objects which it renders takes more time than it actually should. One of the most time consuming operations in Fallout 4 is shadow rendering and because the game has only predefined shadow draw distance, which applies everywhere in every location just the same, we have a choise either we set it to high value with having a good picture but eventually facing fps drops in locations with lots of objects or we lower the value to make fps more stable in general. And this is exactly the point where this plugin comes handy!

Installation
1. Copy ShadowBoost.asi and ShadowBoost.ini to the game's main folder, i.e. where Fallout4.exe is located.
2. In order to load asi plugins you need to have asi loader installed, so copy Fallout 4 asi loader (xinput1_3.dll) from this ditrib to the main game folder as well.

Tweaking
Settings in ShadowBoost.ini are pretty simple
fTargetFramerate - fps you need, shadow draw distance will be smootly adjusted until ingame fps meets this value. If you are playing with vsync or fps lock then you must set this value few fps lower (2 to 5) than your actual fps limit is, otherwise the boost may consider your locked fps as balanced by itself and stop increasing draw distance
fDistChangeSpeed - distance change speed, safe range is from 0.5 to 5.0, default = 1.0
fShadowDrawDistMin - min value of shadow draw distance, it will never be set lower than this value in the game, default = 2000.0
fShadowDrawDistMax - max value of shadow draw distance, it will never go above this value in the game, default = 15000.0

FAQ
Q: Does this plugin accesses game's .ini files ?
A: No it's not, the only ini file plugin uses is ShadowBoost.ini .

Supported game versions
1.1.29.0, 1.1.30.0, 1.2.33.0

You can see the comparison with original game in this vid, fDistChangeSpeed is 1.0 here

https://www.youtube.com/watch?v=yGrUGVD494U
This plugin review from a user
https://www.youtube.com/watch?v=T7DOT3B07Ns
User avatar
Stephanie Nieves
 
Posts: 3407
Joined: Mon Apr 02, 2007 10:52 pm

Post » Thu Nov 26, 2015 7:35 pm

I said this on your nexusmods page but given this is a better environment for feedback than Nexus, I'll say it here too.

If you suddenly enter an area where your fps never dips below your maximum value, like through zoning or fast travel, the shadows will not return to their maximum value.

Can you please have another look at this issue?

User avatar
alicia hillier
 
Posts: 3387
Joined: Tue Feb 06, 2007 2:57 am

Post » Thu Nov 26, 2015 5:36 pm

Also, you got the wrong link here...


The latest binaries are on your website. :P
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Thu Nov 26, 2015 2:42 pm

http://www.gamesas.com/user/885327-bonnie-lass/

Are you using vsync or custom fps lock ? Whats your target fps in the ini file ?

User avatar
Misty lt
 
Posts: 3400
Joined: Mon Dec 25, 2006 10:06 am

Post » Thu Nov 26, 2015 10:51 am


I am using ENB's Vsync. Turning off Vsync will cause physics bugs in the game so I don't wish to do that.

I am using the default ShadowBoost.ini file of the latest version on your website.

The problem is if you do not dip from 60 fps at all in an area, just a constant, solid 60 fps, it does not seem to adjust. It'll only start to adjust if you say, dip down to 58 or something.

What about making your own frame limiter that works flawlessly with ShadowBoost? You would have to have the max value be lower than 60, but losing 2-5 fps in exchange for fps being much smoother is a worthy tradeoff.
User avatar
Albert Wesker
 
Posts: 3499
Joined: Fri May 11, 2007 11:17 pm

Post » Thu Nov 26, 2015 4:00 am

I had discussed that with Boris before and he said that even with own limiter the same bug will appear because of the vsync which I have no control of .

User avatar
Chrissie Pillinger
 
Posts: 3464
Joined: Fri Jun 16, 2006 3:26 am

Post » Thu Nov 26, 2015 2:21 pm


I don't know why that would be the case, given VSync caps your fps at 60. If your limiter had a maximum of basically any number below that, it seems like it should work. Plenty of gamers would gladly give up having their maximum fps lowered from 60 to 55 if it meant not getting the horrendous frame dips that your mod fixes.

But I'm not a programmer, so I don't really know for sure, obviously.
User avatar
Nana Samboy
 
Posts: 3424
Joined: Thu Sep 14, 2006 4:29 pm

Post » Thu Nov 26, 2015 10:13 am


38
User avatar
victoria gillis
 
Posts: 3329
Joined: Wed Jan 10, 2007 7:50 pm

Post » Thu Nov 26, 2015 10:33 am

Set it to 55 and test please .

User avatar
Lilit Ager
 
Posts: 3444
Joined: Thu Nov 23, 2006 9:06 pm

Post » Thu Nov 26, 2015 9:54 am


I already tested 55 I'm afraid, I reverted to default afterward.

It doesn't seem to matter what I set the target fps to if I'm in an area where I will be 100% capped at 60 fps. The alternative is disabling Vsync, but that's a bad idea for several reasons.
User avatar
Jack Walker
 
Posts: 3457
Joined: Wed Jun 06, 2007 6:25 pm

Post » Thu Nov 26, 2015 11:27 am

Can you upload the save from such point where I enter something and then the bug appears ?

User avatar
Niisha
 
Posts: 3393
Joined: Fri Sep 15, 2006 2:54 am

Post » Thu Nov 26, 2015 2:14 pm


Please forgive me, I was getting a save prepared of a good area for you to test in and suddenly it seems to be working perfectly. My initial tests must've been flawed but I'm not sure how.

If I run into the issue again I'll let you know. I'm extremely confused as to what changed. I feel a fool.
User avatar
Matt Bee
 
Posts: 3441
Joined: Tue Jul 10, 2007 5:32 am

Post » Thu Nov 26, 2015 10:49 am

Again, deeply sorry, this is very embarrassing to me.

I wish I knew what I did differently this time around.
User avatar
teeny
 
Posts: 3423
Joined: Sun Feb 25, 2007 1:51 am

Post » Thu Nov 26, 2015 5:45 pm

The moment you will see this issue please make a screen with fps counter .

User avatar
gemma king
 
Posts: 3523
Joined: Fri Feb 09, 2007 12:11 pm

Post » Thu Nov 26, 2015 11:30 am

Could you be a bit more clear for the description of fDistChangeSpeed? Is a higher number faster (additive speed) or is a lower number faster (delay timer)?

User avatar
Bambi
 
Posts: 3380
Joined: Tue Jan 30, 2007 1:20 pm

Post » Thu Nov 26, 2015 11:51 am

The higher number is the faster shadow distance is changing .

User avatar
Sylvia Luciani
 
Posts: 3380
Joined: Sun Feb 11, 2007 2:31 am


Return to Fallout 4