SKYRIM
INSS Improved New Skyrim Shadows for Medium-Range PC by defosh369
Skyrim » Visuals and graphics
Added: 16/11/2011 - 02:23AM
Updated: 02/11/2013 - 11:15PM

420 Endorsements

4.4FINAL Latest version

19,265 Unique D/Ls

24,955 Total D/Ls

227,182 Total Views

Uploaded by defosh369

Description

Last updated at 23:15, 2 Nov 2013 Uploaded at 2:23, 16 Nov 2011

Hey everyone!

Here you have my new SkyrimPrefs.ini settings for making your high resolution (2048 resolution) shadows look more acceptable.

I was trying to find a good solution for Skyrim shadows problem, and most of them are based on 4096 shadow map resolutions, which makes my Skyrim get a huge lag in interiors. So, I was focusing on tweaking 2048 shadow map resolutions and make them look and behave better. After a long time tweaking, involving some good old trial and error, I've finally done it. Result is that you can get fixed, great quality shadows, without using 4096 shadow map resolutions and without hurting your performance.
The downloadable file isn't necessary, all the information will be posted in this description. This file was made from users request to be able to endorse this tweak.

====================================================================================
LINKS:

Here's a link to a video presentationn: http://www.youtube.com/watch?v=9yoxkAhkCao

Here's a link to my Ultra settings tweak: http://skyrim.nexusmods.com/mods/7638

Here's a link to my Low and Medium settings tweak: http://skyrim.nexusmods.com/mods/19632

You can use a great tool called Skyrim configurator to change and manage your tweaks (with small variations in shadow blurring and shadow filtering, end results will be very simmilar as in my tweaks). Here's a link:
http://skyrim.nexusmods.com/mods/814

====================================================================================
TWEAKS:

As usual, change this values in your SkyrimPrefs.ini file (it can be found in C:\Users\*USERNAME*\Documents\My Games\Skyrim\ directory).

Note 1) If you didn't notice any changes after adding my tweak, try setting your SkyrimPrefs.ini file to read-only after adding my tweak and see if it works.
Note 2) If you don't have iShadowMapResolutionSecondary and iShadowMapResolutionPrimary in your SkyrimPrefs.ini, you can skip those.

LOW SHADOW DRAW DISTANCE\HIGH SHARPNESS, MAX FOV UP TO 98 (by defosh369):
iBlurDeferredShadowMask=20
fInteriorShadowDistance=2000.0000
fShadowDistance=2000.0000
iShadowMapResolutionSecondary=2048
iShadowMapResolutionPrimary=2048
fShadowLODStartFade=200.0000
iShadowMode=4
bTreesReceiveShadows=1
bDrawLandShadows=0
bShadowMaskZPrepass=1
iShadowMapResolution=2048
fShadowBiasScale=0.2400
iShadowMaskQuarter=4
iShadowFilter=4

MEDIUM SHADOW DRAW DISTANCE\MEDIUM SHARPNESS, MAX FOV UP TO 80 (by defosh369):
iBlurDeferredShadowMask=10
fInteriorShadowDistance=2800.0000
fShadowDistance=2800.0000
iShadowMapResolutionSecondary=2048
iShadowMapResolutionPrimary=2048
iShadowSplitCount=3
fShadowLODStartFade=200.0000
iShadowMode=3
bTreesReceiveShadows=1
bDrawLandShadows=0
bShadowMaskZPrepass=1
iShadowMapResolution=2048
fShadowBiasScale=0.3500
iShadowMaskQuarter=4
iShadowFilter=4

MEDIUM SHADOW DRAW DISTANCE\MEDIUM SHARPNESS, MAX FOV UP TO 75 (by defosh369, recommended setting when you didn't change game field of view):
iBlurDeferredShadowMask=10
fInteriorShadowDistance=3000.0000
fShadowDistance=3000.0000
iShadowMapResolutionSecondary=2048
iShadowMapResolutionPrimary=2048
iShadowSplitCount=3
fShadowLODStartFade=200.0000
iShadowMode=3
bTreesReceiveShadows=1
bDrawLandShadows=0
bShadowMaskZPrepass=1
iShadowMapResolution=2048
fShadowBiasScale=0.3500
iShadowMaskQuarter=4
iShadowFilter=4

====================================================================================
ADDITIONAL BUGFIXES FOR SHADOWS:

If you wat to fix flickering shadows:
Shadow flickering is caused by game updating position of shadows for the current in-game time. Normally, when those updates are performed, shadows move around causing visible shadow flickering. This workaround is making this shadow update almost instant and takes care of any visible shadow flickering. To change shadows movements from those updates to almost instant, edit your Skyrim.ini file (it can be found in C:\Users\*USERNAME*\Documents\My Games\Skyrim\ directory) and add this two lines at the bottom of:
[DISPLAY]
fSunShadowUpdateTime=0.10
fSunUpdateThreshold=2.0
Note, that you can change fSunUpdateThreshold to your own liking (higher values like 2.0 equals less frequent shadow movement, lower values like 0.2 or 0.0 equals more frequent shadow movement). Best stick with 1.0 or 2.0. You can also change fSunShadowUpdateTime to your own preference (setting this value to 0 makes change instant, but if you want to shadows move when update, you can use setting provided you by user Salah-ad Din and set it to 0.25, this will make shadows move when update, but it will be faster that in vanilla setting, minimizing visible flickering).

If you want to minimize the shadows "aura" effect:
It helped for my settings, I'm using medium shadow draw distance/medium shadow sharpness version of my tweak. Still, auras will be visible in certain points, but aura itself will be smaller. So, If you want make aura shadows less visible, you can change this value:
iShadowMaskQuarter=6
Note, that setting this value above highest game setting, will help with "aura" shadows in most situations and configurations, but it can cost you some performance. This performance loss depends on your system, but it should be at about -2FPS to -4FPS.

If you want to fix shadows "pop up":
If you have a problem with shadows pop up in close range of the player, visible at this video, provided by user named Siegfriedm:
http://www.youtube.com/watch?v=7eFdxiGEHe8
You can fix this by increasing shadow bias scale, to do that change this value:
fShadowBiasScale=1.5000 (set to 1.5000 to completley remove the issue, but wwith detached shadows)
fShadowBiasScale=1.0000 (set to 1.0000 for a good balance between fixing this issue and avoiding detached shadows)
However, increasing shadow bias scale can make character shadows a bit innacurate and slightly detached in in-game sunrise or sundown. It's not very noticeable and applies only in exterior, in interiors, changing shadow bias scale don't take any effect.

For additional fixes, please visit miscellaneous section of the download page.

====================================================================================
ADDITIONAL PERFORMANCE FOR SHADOWS:

Shadow blurring (+2FPS on 7, +3FPS on 5):
If you want some additional performance, or just don't like high shadow blurring, you can lower the level of shadow blurring. Lowering shadow blurring will probably make shadow flickering more noticeable, so I strongly suggest adding flickering shadows fix that can be found at top of additional bugfixes for shadows section. Huge thanks goes to user named kodiak123 for testing and benchmarking this out.
iBlurDeferredShadowMask=5
Note, that lower values than in my tweaks (like 15, 7, 5, 3 or 1) equals more performance in cost of lower shadow quality and overall blurring. Though, best value as kodiak123 pointed out, in case of performance and quality is 5.

Shadow filtering (+2FPS):
if you want more performance, without any significant shadow quality loss, change this values:
iShadowFilter=3
iShadowMaskQuarter=3

Subtle tree and land shadows (+2FPS):
If you want even more performance, you can disable land shadowing and tree shadowing, to do that, change values below:
bTreesReceiveShadows=0
bDrawLandShadows=0

====================================================================================
VERSION CHANGES:

Version 2.2 changes:
iShadowMaskQuarter=3
Hopefully, this will minimalize the problem of seeing a small light glow around bodies when they stand between a light source and their shadow, without showing up any exterior shadow flickering. This setting can also slightly increase shadow quality. Thanks goes to blattgeist to showing the problem.
If you like older version shadowing method, you can always stick with value of 2.

Version 2.4 changes:
fInteriorShadowDistance=2200.0000
Slightly lowered interior shadow distances for getting less pixelated interior shadows. This is a small change, but it helps a little in getting rid of those blocks. The change in draw distance isn't that noticable, but the change in shadows actually is. After all, the're still a bit too blocky.
It's a cosmetic change, if where fine with previous interior shadows, you can stick to my older value of 2400.000.

Version 2.6 changes:
Reorganized the file description, added different description sections to make everything look more clear. Added some bugfixes in additional performance and bugfixes section, including some insignificant changes here and there. This time, I didn't make any changes in main tweak values.

Version 2.8 changes:
Added "If you wat to fix flickering shadows" section in my description, that contains a different method to completley take care of visible shadow flickering problem. No changes to main tweaks were made.

Version 3.0 changes:
fShadowLODStartFade=200.0000
bFloatPointRenderTarget=0 (Huge thanks goes to FirstMateFilch for this)
iShadowMode=4 (Changed from 3. Makes shadows less "fuzzy" at distance, best used with static shadow movement method)
iShadowMaskQuarter=4 (Changed from 3. Makes shadows less "fuzzy" at distance, best used with static shadow movement method)
Added Low/Meduim/High shadow draw distance tweaks and made some small changes here and there. Changed fShadowLODStartFade and tbFloatPointRenderTarget to game default values, to avoid performance loss on some systems.

Version 3.2 changes:
Reorganized my description, did some small changes here and there, added a value to help with aura shadows in "additional performance and bugfixes" section of my description. No changes to main tweaks were made.

Version 3.5FINAL changes:
I did some "fine tuning" of my tweaks, so I've changed a lot of different values, for instance, I've increased shadow draw distance a bit and corrected bias scale for new set of draw distances. Also added an optional bShadowMaskZPrepass=1 line to my tweaks.

Version 3.6FINAL changes:
From my Ultra tweaking expierience, I've noticed that lower bias scale can provide a "ground self-shadowing" bug, so after testing this with my and thenannymoh tweaks, I've set bDrawLandShadows to 0 to avoid any visible "ground self-shadowing" that can be caused by low bias scale. Changed shadow mask quarter to 4 in thenannymoh tweak, to make shadow less "fuzzy" at distance.

Version 3.6FINAL additional changes:
Since after the latest patches "ground self-shadowing" bug seems to be fixed, I've turned back on ground shadowing, bDrawLandShadows=1 in all tweaks. Did some editing of 'additional performance for shadows" section of my tweak description.

Version 3.8FINAL changes (24-08-2012):
I've created my own high shadow draw distance settings and added it instead of thenannymoh's settings (sorry, I'll still keep a backup of this settings just in case). In this tweak, I've greatly increased shadow draw distance and add a huge amount of blurring, that is required to "hide" a portion of undetailed on-character shadows (shadows from very small objects, like armor pieces or belts). Overall effect is quite nice in motion and increased shadow draw distance will definitely stop any obvious shadow pop up.

Version 3.8FINAL additional changes (18-12-2012):
Added an information about a great tool called Skyrim Configurator. Changed shadow bias scale for medium sharpness/medium draw distance version of my tweak, to make transition in transparent shadows a bit smoother.
from fShadowBiasScale=0.1800
to fShadowBiasScale=0.2500

Version 4.0FINAL changes (27-12-2012):
Cleared up some information in the description and deleted high shadow draw distance/low sharpness verion of my tweak. Added a new version of medium shadow draw distance/medium sharpness which fixes some of the issues in older version of medium shadow draw distance/medium sharpness verion, especially helps with transparent shadows and in shadow LOD switching issue.
This is how the issue looks and behaves:
http://www.youtube.com/watch?v=xIXeyYk7Ag0
And how it was fixed:
http://www.youtube.com/watch?v=o6DT9J9tx58
Lowering shadow draw distance may be considered as a tradeoff, but, with this new, lowered shadow draw distance, LOD switching issue was eliminated completley and on-character shadows increased in quality.

Version 4.2FINAL changes (01-03-2013)
Disabled land shadows in all of my tweaks (after newest patches, it may result in shadow glitches on ground). More importantly, I've discovered that field of view setting (FOV) may cause a significant shadow quality loss, so I've changed the tweak descriptions and added small information about which is the max FOV for what setting, to avoid this king of shadow quality loses. For more information, I've made a video where I talk about this issue a bit more, here's a link:
www.youtube.com/watch?v=dc2FLhRnTLY

Version 4.4FINAL changes (01-09-2013)
Changed interior draw distances after researching interior shadowing in Skyrim, with awesome help of Skyrim Nexus user named Valorien. Cleared things up a bit and updated the credits section.

====================================================================================
FROM ME:

Please remember, it's not a permanent and best solution for Skyrim shadows problem, but definitely worth checking out. For a permanent fix of this issue, we all must wait for Bethesda to take action with a patch or something.
Please tell me if you have any problems or if you like it or hate it. You can also share and use for you own tweaking as a good starting point.

====================================================================================
CREDITS:

Author:
defosh369 (http://www.skyrimnexus.com/modules/members/index.php?id=3108981)

With help of:
Level of detail issue possible fix: Nearox (http://skyrim.nexusmods.com/users/3618360)
Interior shadowing help: Valorien (http://skyrim.nexusmods.com/users/2093220)
General help and shadow blurring testing with banchmarking: kodiak123 (http://www.skyrimnexus.com/modules/members/index.php?id=3414367)
Very useful shadow pop up video: Siegfriedm (http://www.skyrimnexus.com/modules/members/index.php?id=1928177)
General help and high draw distance tweak: thenannymoh (http://www.skyrimnexus.com/modules/members/index.php?id=1645524)
Information about bFloatPointRenderTarget line: FirstMateFilch (http://www.skyrimnexus.com/modules/members/index.php?id=3083616)
Feedback on aura shadows issue: blattgeist (http://www.skyrimnexus.com/modules/members/index.php?id=300938)
General help and showcasing additional tweaks for shadows: runicNomad (http://www.skyrimnexus.com/modules/members/index.php?id=92419)
Feedback on issue caused by bFloatPointRenderTarget line: craxim2 (http://www.skyrimnexus.com/modules/members/index.php?id=2658706)
Feedback on interior shadow quality: Vortaka (http://www.skyrimnexus.com/modules/members/index.php?id=182044)
Optimized values for flickering shadows fix: Salah-ad Din (http://www.skyrimnexus.com/modules/members/index.php?id=124039)
Helping me realize that I've should add a file so people can endorse it: faggoat (http://www.skyrimnexus.com/modules/members/index.php?id=1783958)