z929669 Posted January 1, 2014 Posted January 1, 2014 We'd like some user input into the effects of the following [Display] INI settings that affect shadows (all eslse being equal!):Default SkyrimPrefs.ini settings (vanilla presets):iBlurDeferredShadowMask = 3 ;higher values 'blur' shadows and decrease resolution, but also decreases edge pixellation ... ideally, this should remainl rather low, but who knows for sure?fShadowLODStartFade = 200.0000bShadowMaskZPrepass = 0bDrawShadows = 1bDeferredShadows = 1fShadowBiasScale = 0.1500iShadowMapResolution = 1024iShadowFilter = 3iShadowMode = 3Problem: Skyrim shadows are bad, even on the default 'Ultra' settings. Outdoor sjadows have pixellated edjecs, so they appear as shadows of "Lego versions" of the actual ojects. There are limited known ways of enhancing shadows, especially outdoors. fShadowDistance also impacts outdoor shadow quality in that smaller values drastically improve shadow resolution, but also decrease the rendered shadow distance ... but edjes are clocky no matter what.Objective: Maximize shadow draw distance, resolution and edge smoothness ALL AT ONCE if possible.Testing conditions:Please establish the default INIs using the STEP-recommended Skyrim Launcher setup and the following INI adjustments. No other custom modifications to the base config please (it does not matter if you have mods installed or not as long as they are not altering the vanilla configuration files):bTreesReceiveShadows = 1bDrawLandShadows = 1fShadowDistance = 8000.0000 ;this is the 'ultra' value, 'high' is 4000.0000Please only mess with the default INI settings indicated above and nothing else in the game or otherwise (monitor res, gamma, brightness, contrast, etc). The goal is to try and define settings that actually have a positive impact towards obtaining the Objective and to identify shadow settings that simply don't need to be messed with (have no impact or have a high performance impact).Thanks for helping out!Below is a recommendation based on testing for Skyrim shadows: Vanilla shadow users: SkyrimPrefs.ini [Display] bDeferredShadows=1 bShadowMaskZPrepass=0 fInteriorShadowDistance=4000.0000 fShadowBiasScale=1 fShadowDistance=4000.0000 ;May increase fShadowDistance to higher values iBlurDeferredShadowMask=4 iShadowFilter=3 iShadowMapResolution=2048 ;set iShadowMapResolution to 1024 (medium), 2048 (high), or 4096 (ultra) depending on the preset the Launcher assigned to you ENB shadow users: SkyrimPrefs.ini [Display] bDeferredShadows=1 bShadowMaskZPrepass=0 fInteriorShadowDistance=4000 fShadowBiasScale=0.4 ;Somewhere between 0.4 and 1.0 is best for fShadowBiasScale fShadowDistance=4000 ;May increase fShadowDistance to higher values iBlurDeferredShadowMask=1 ;Setting iBlurDeferredShadowMask to 0 will cause buggy ENB shadows. This may be increased at user discretion. iShadowFilter=3 iShadowMapResolution=2048 ;set iShadowMapResolution to 1024 (medium), 2048 (high), or 4096 (ultra) depending on the preset the Launcher assigned to you
RafaelValeira Posted January 5, 2014 Posted January 5, 2014 I think that fShadowBiasScale defaults to 0.2500, doesn't it? But, anyway, I didn't get exactly what you need. Perceptions? Benchmark? Both?
Spock Posted January 9, 2014 Posted January 9, 2014 As far as I know the shadow quality of Skyrim will degrade with larger draw distance. That is because the Skyrim engine renders one big shadow for the whole scene. If it is larger with the same resolution the quality will be lower. Another point is that some .ini settings regarding shadows look odd with certain ENB configs. Opethfeldt's ENB for example looks best at iBlurDeferredShadowMask=3 while a setting of 4 helped with my vanilla shadows. I'm sorry that I cannot make comparison shots to back up my claims atm because I sold my GPU and am still waiting for a new one.
Cgr33k Posted January 22, 2014 Posted January 22, 2014 I found that these settings gave me the best shadows' appearance:iBlurDeferredShadowMask=5 fInteriorShadowDistance=2500.0000 fShadowDistance=2500.0000 iShadowMapResolutionSecondary=4096 iShadowMapResolutionPrimary=4096 iShadowSplitCount=2 iShadowFilter=4 iShadowMode=4 iShadowMapResolution=4096 fShadowBiasScale=0.1500 iShadowMaskQuarter=4Edit:Screenshots: Without Enb: With Enb (Bleak Enb):
Spock Posted January 27, 2014 Posted January 27, 2014 There seems to be someone one the nexus who already had an indepth look into this. He made 9 presets for different hardware and different fov. Low: https://www.nexusmods.com/skyrim/mods/19632/? Medium: https://www.nexusmods.com/skyrim/mods/283/? Ultra: https://www.nexusmods.com/skyrim/mods/7638/? His video about LOD shadow issues (seems to be FOV dependent): Since ENB boost is very desirable anyway and there is a shadow fix ENB boost version out there, wouldn't it be best to use that instead of ini tweaking? https://www.nexusmods.com/skyrim/mods/50244 1
miran Posted February 9, 2014 Posted February 9, 2014 I tried making changes one at a time leaving all others at the default as defined in the OP. The differences are very, very small. There are now a bunch of photos, the settings are in the name and I uploaded a 7zip here:https://www.mediafire.com/download/upzjiuhrr43tcn7/shadows_1_change_at_a_time.7z2 pictures of each setting: one picture of bush shadows & one of a rock with vertical lines. Curious about that, what is it? I'm not sure how you want to test performance differences. Top of the steps at Whiterun? stay there for a minute? or run down to the gate?
z929669 Posted February 9, 2014 Author Posted February 9, 2014 Thanks all for the info. I'll take a look and post back when I have some more time!
Spock Posted May 23, 2014 Posted May 23, 2014 On a small side note for ENB users, the only two shadow quality settings (meaning strictly quality, not view distance or sunupdate) to play with are shadow map resolution and iBlurDeferredShadowMask. On a r9 290 @1440p amd 8k shadow distance, 2k shadow map resolution and iBlurDeferredShadowMask=5 were the perfect settings for me. 1k shadow map resolution got me ~1 fps and a perceivable quality loss while 4k cost me ~4-5 FPS with almost no gain leaving iBlurDeferredShadowMask the only setting to really play with. Sadly I cannot provide comparison shots atm but I prefer a value of 5 as a good mix of sharpness and hiding some edge imperfections. 1
zyg0tic Posted May 27, 2014 Posted May 27, 2014 I have discovered how to fix the aura/glow around player, npc and object in front of a shadow. I have published a guide here:https://www.nexusmods.com/skyrim/mods/54335/? Basically you use whatever shadow settings you like for performance, quality and draw distance. But do this to remove the aura/glow: 1. In skyrimprefs.iniiBlurDeferredShadowMask=1iMultiSample=0bFXAAEnabled=0bTransparencyMultisampling=0bDeferredShadows=1 2. Use ENB with enblocal.ini settings:UsePatchSpeedhackWithoutGraphics=falseEnableEdgeAA=trueEnableTemporalAA=falseEnableSubPixelAA=trueEnableTransparencyAA=true 3. Use enbseries.ini settings to adjust ShadowBlurRange to your liking. Dont change iBlurDeferredShadowMask anymore. 4. It is compatible with injectSMAA so you can use that too. This will result in the aura/glow being removed, but also no issues with a one-pixel white edge or blocky shadows. If you set iBlurDeferredShadowMask=0 you can also remove the aura, but it isnt a real solution because shadows will be blocky (edges not blurred at all). And also the ENB blurring effects wont work nicely. My fix avoids those problems.
Garfink Posted May 28, 2014 Posted May 28, 2014 Does the aura/glow changes alter performance in anyway?
zyg0tic Posted May 28, 2014 Posted May 28, 2014 (edited) Does the aura/glow changes alter performance in anyway?Performance wont be made any worse or better by the fix. Normal shadow performance rules still apply (draw distance, shadow resolution, enabling/disabling certain types of shadows), but none of those will have any effect on the aura. ENB antialising is superior to the game's own or driver-forced AA, as far as performance is concerned anyway. So if anything itll improve performance because of that. Using only ENB AA (and only improving it beyond that with injectSMAA) is essential to the fix so that the remaining 1-pixel aura is removed. Edited May 28, 2014 by zyg0tic
EssArrBee Posted May 28, 2014 Posted May 28, 2014 Performance wont be made any worse or better by the fix. Normal shadow performance rules still apply (draw distance, shadow resolution, enabling/disabling certain types of shadows), but none of those will have any effect on the aura. ENB antialising is superior to the game's own or driver-forced AA, as far as performance is concerned anyway. So if anything itll improve performance because of that. Using only ENB AA (and only improving it beyond that with injectSMAA) is essential to the fix so that the remaining 1-pixel aura is removed.The ENB AA for transparency is not performance friendly at all. The other three AA types in ENB are very performance friendly, but EdgeAA can cause blurriness and Temporal can cause ghosting. I'd stick with driver forced SGSSAA (Nivdia only I believe) and play with that. Also, look at the woven fences with ENB AA and there is so much noise in them. Only, MSAA and SSAA seem to a good job fixing that.
zyg0tic Posted May 28, 2014 Posted May 28, 2014 (edited) I found that only the ENB AA settings were the only ones that removed the 1-pixel edge. That is why I said not to use driver-forced AA. If a different form of AA could be found which does the same thing then Id happily change my recommendation, but Ive not yet tested enough options. Disabling ENB's AA and using only injectSMAA might work. UPDATE: I have discovered that the only thing that causes a 1-pixel edge (like a hard glow) is the game's own AA. I tried multiple combinations of other AA types (injectSMAA, all the ENB options, driver-forced transparecy AA) and none of them gave the 1-pixel white edge except iMultiSample (game's own AA). So given that discovery, I can now rethink my fix. I will recommend only the bare essentials necessary for to remove all traces of the glow - additional tweaks unrelated to the essential fix will be labelled as such. Edited May 29, 2014 by zyg0tic
AyleidRuin Posted May 31, 2014 Posted May 31, 2014 (edited) Hi STEP. A lil late but wanted to share... Here are some Answers copied from Geforce.com/Guides for the Highlighted Green Default Shadow Variables z929669 posted. I hope this isn't TMI. If it is, Admins Please Delete it. NOTE: I agree with these Answers but NOT the Tweaks:iShadowMapResolution=4096 - This variable in SkyrimPrefs.ini directly controls shadow resolution and hence is the Major determinant of shadow quality in the game. It is part of the Shadow Detail in-game setting. At Shadow Detail Low iShadowMapResolution is set to 512; at Medium =1024; at High =2048; and =4096 at Ultra. A higher value of 8192 is possible for shadow resolution, which will improve shadows slightly, but will also reduce FPS substantially =3072 a few suggest without any performance loss. iShadowMaskQuarter=4 - This variable in SkyrimPrefs.ini also has an impact on the clarity shadows. If raised to higher values such as 10, it improves the crispness of shadows. iBlurDeferredShadowMask=3 - This variable in SkyrimPrefs.ini controls the blurring effect applied to shadows. Lower values will sharpen shadows, and at 0 the blur effect on shadows is completely disabled, providing the sharpest shadows. Higher values will progressively soften the shadows until they become almost shapeless fShadowDistance=8000 - This variable in SkyrimPrefs.ini has a significant impact on shadow quality in outdoor areas. It controls the distance at which shadows are visible, however due to the way the engine works, it also determines the overall level of detail of shadows in the game world. Lowering the value of this variable will improve shadow resolution, but will also remove shadows from more distant objects, which improves performance significantly. If set to 0, outdoor shadows are completely disabled. =4000 works for me. fInteriorShadowDistance=3000.0000 - This variable in SkyrimPrefs.ini controls interior shadows. However lowering this value simply results in more areas of an interior being covered by shadow, rather than any noticeable improvement in shadow resolution. Increasing the value also seems to have little practical impact. In indoor locations, shadows are always sharper when closer to a light source than when further away from it regardless of this setting. Only raising the iShadowMapResolution variable can improve both exterior and interior shadows. =2000 works for me. fShadowBiasScale=0.1500 - This variable in SkyrimPrefs.ini determines the degree to which a surface is shadowed, possibly by altering the angle an object needs to be relative to a light source to cast a shadow. In practice, higher values will reduce the amount of shadowing, while lower values will increase the shadowing on various surfaces. =.2500-.3000 stop Shadows Pop-In. (at least for me) END of GeForce Guide/Answers. The Following is what I found google'n: iShadowSplitCount=2 = 1. How many times shadows are split. ie how many shadows one object can cast. OR 2. might be the number of cascades a shadow projects....splitcount=2 seems the way to go. I have tried 4 but saw no dif. ?Maybe Shadows cast from more than two light sources will produce shadows in different directions? fShadowLODStartFade: This variable controls the distance at which shadows fade out. However because there are virtually no shadows aside from those cast by characters in Fallout 3, there is no noticeable performance or visual impact from lowering this slider. In fact even at the lowest level on the slider, and at the longest zoom possible for third person view, you will still see your own shadow cast on the ground for example. = Taken from TweakGuides/Fallout3 bShadowMaskZPrepass = 0 Anything above 3 will produce Noise. Quote from Defosh369 "From testing, I can tell that this will help with achieving slightly better shadow quality at minimal performance hit, due to shadows (especially moving ones) being "updated" quicker. This effect can give you an illusion that all the moving shadows are more complex than normal. This is a small improvement, that helps with removing slowly updating shadows (most noticeable on characters, when a character move, shadows like to "stay" in place for a half of a second or so)." My Successful Tweak for the Ground Shadow Lines Close to/In front of player: =uTube vid of Shadow Line. STEP Z-Fighting fix= fNearDistance=20.0000-25.0000 (mine is=17.0000). Which has also fixed my Shadow Line problem. With fNearDistance=19.0000 set, the Shadow Ground Lines that run Horizontal in front of the player disappear. I am still trying to find the sweet spot with SkyReaLism ENB and the Shadow tweaks in the Skyrim.ini/prefs.ini. fNearDistance=19 clips at walls (corner of screen) but fNearDistance=20+ Clips ¼ of the screen at Walls. I had fNearDistance=18.0000 set but shadow lines were present, though I didn't have clipping next to walls/objects. I thought it may have to do with my FieldOfView=70 that fNeardistance=19 got rid of the lines.fShadowBiasScale=.2500-.6000 is the fix I found googling, but after trying different variables with no change, I changed fNearDistance=19.0000 and lines were gone. Display sections for Skyrim/Prefs.ini : Only the Shadow Variables :skyrim.inifShadowLODMaxStartFade=1000.0fSpecularLODMaxStartFade=2000.0fLightLODMaxStartFade=3000.0iShadowMapResolutionPrimary=2048fNearDistance=19.0000fDefaultWorldFOV=70fDefault1stPersonFOV=70SkyrimPrefs.iniiBlurDeferredShadowMask=4fInteriorShadowDistance=2000.0000fShadowDistance=3000.0000iShadowMapResolutionSecondary=2048iShadowMapResolutionPrimary=2048iShadowSplitCount=2fShadowLODStartFade=300.0000iShadowMode=3bTreesReceiveShadows=1bDrawLandShadows=1bFloatPointRenderTarget=1iShadowMapResolution=2048fShadowBiasScale=0.3000iShadowMaskQuarter=2iShadowFilter=4bShadowsOnGrass=1bDeferredShadows=0bDrawShadows=1My shadows are coming along quite nicely :D Edited December 29, 2014 by AyleidRuin
EssArrBee Posted May 31, 2014 Posted May 31, 2014 Thanks for putting in the time to test this stuff out AR!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now