Shadows settings

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Shadows settings

Post by King of Worms »

Id just want to bring to the attention one thing Ive tested for a while and now Im 100% certain about it.

Thing is, that if you set your slider detail slider to the right, hoping for the best quality, in my opinion, you dont receive that. Because one setting lower looks better.

This change is IMO only about shadows, rest stays the same.

Modern games have - thanks god - got rid of the approach that the more defined shadows are, the better.
So now we have a bit softer - filtered - shadows, to give us more natural feel. This filtering comes with a performance hit, nothing big.

Now lets look at the maximum setting in daggerfall:
Max.jpg
Max.jpg (502.14 KiB) Viewed 2656 times

Hmm, so we have this super sharp shadow which looks very unrealistic.

Now, lets save us cca 5% of performance and lets move the slider to the left by one part:
one less than max.jpg
one less than max.jpg (498.66 KiB) Viewed 2656 times
Yes, we get this nice, softer shadow and we free up some resources while doing so. Win win.

Another bad thing about the MAX detail is, that these super sharp shadows work only in very close range. So if you pay attention, you will see the dividing line cca 3m infront of you. Where this high res shadow changes in the softer one. This again is distracting, and this problem doesnt exist when you set the slider one bellow max.
top.jpg
top.jpg (406.15 KiB) Viewed 2198 times
SO

The bottom line is, that the not-maxed shadows look better, perform better, and you dont have a dividing line in between high res/lower res shadows in your face.

This leads me to the conclusion, that the max setting should be either somehow improved, or removed. Because in fact, its not the best quality. That setting does not make sense to me atm, unless Im missing something here.

Im open to discussion on this topic. As it is now, Im for the removal of this setting, because it simply does not look better IMO and costs some performance at the same time

Opinions?
Last edited by King of Worms on Sat Oct 26, 2019 6:52 pm, edited 1 time in total.

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Shadows settings

Post by BadLuckBurt »

I took your advice and knocked the slider down because I like blurry shadows. The slider itself is just standard Unity behaviour I think, lowering it reduces the shadow map resolution. Some people probably prefer supersharp shadows so I'd just leave it as is, maybe change the tooltip to explain what it does in more detail.

My bigger gripe is with the main graphics quality setting, 'Fantastic' :lol: I know it's a Unity thing but it doesn't tell me what it does at all, I'd definitely like more control over what is and isn't activated.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Shadows settings

Post by King of Worms »

BadLuckBurt wrote: Tue Oct 15, 2019 9:08 am I took your advice and knocked the slider down because I like blurry shadows. The slider itself is just standard Unity behaviour I think, lowering it reduces the shadow map resolution. Some people probably prefer supersharp shadows so I'd just leave it as is, maybe change the tooltip to explain what it does in more detail.

My bigger gripe is with the main graphics quality setting, 'Fantastic' :lol: I know it's a Unity thing but it doesn't tell me what it does at all, I'd definitely like more control over what is and isn't activated.
I agree that some advanced options menu where you can customize these presets would be good.

From what I have noticed, lower tiers of this setting remove VSYNC (uh?) it also somehow changes the grass (uh? grass is not even included in the base game), it reduces the shadow resolution and distances (thats ok, just the top setting looks bad as explained above) and rest is unknown to me.

It seems quite messy honestly

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Shadows settings

Post by BadLuckBurt »

King of Worms wrote: Tue Oct 15, 2019 9:34 am I agree that some advanced options menu where you can customize these presets would be good.

From what I have noticed, lower tiers of this setting remove VSYNC (uh?) it also somehow changes the grass (uh? grass is not even included in the base game), it reduces the shadow resolution and distances (thats ok, just the top setting looks bad as explained above) and rest is unknown to me.

It seems quite messy honestly
Google led me to a page where those presets could be configured in the Unity Editor so apparently they also depend on what the devs deem 'Fantastic' :D I'll just stick to that for now and hopefully we'll have some more control in the future.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Shadows settings

Post by King of Worms »

I recommend stepping down to beautiful, for better visuals :lol:
Btw we can adjust shadow distance in the config files, for the interiors and dungeons, the preset is good, but for exteriors its safe to increase it two times at least. It reverts to default to me after a while, so after the change, just lock it - Read Only .)

Default 90 distance:
90.jpg
90.jpg (362.86 KiB) Viewed 2533 times
Enhanced 200 distance:
200.jpg
200.jpg (358.39 KiB) Viewed 2533 times

I tryed 500 as well, but it doesnt change at all compared to 200. So 200 is deffo the MAX. But maybe 150 will be the same as 200 as well, I have not found where the limit EXACTLY is, but it doesnt matter IMHO. 200 will max you out, thats for sure. I did not see any difference in performance.

But indeed, the enhanced distance adds a lot to the game, the shadows pop up is almost invisible this way. Its deffo worth it Id say. Outside is not very HW demanding, compared to interriors with many light sources. So it seems safe to bump it up to me.

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Shadows settings

Post by King of Worms »

Ok even the READ ONLY flag is not enough and DFU overwrites it after a while, duh :roll:

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Shadows settings

Post by pango »

That setting value is clamped to 0.1 ... 150 range when loaded:
https://github.com/Interkarma/daggerfal ... er.cs#L217
Is the value of 150 kept, or does it also eventually resets to 90? I wonder where that 90 comes from
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Shadows settings

Post by BadLuckBurt »

King of Worms wrote: Tue Oct 15, 2019 11:42 am Ok even the READ ONLY flag is not enough and DFU overwrites it after a while, duh :roll:
The Read only-flag you set through file properties is very unreliable when programs manipulate the file directly. The only way to really prevent it is to dive deeper into the Security settings for the file but it seems it'll get capped to 150 in the engine anyway so if you keep it at 150 you should be good.
pango wrote: Tue Oct 15, 2019 2:44 pm That setting value is clamped to 0.1 ... 150 range when loaded:
https://github.com/Interkarma/daggerfal ... er.cs#L217
Is the value of 150 kept, or does it also eventually resets to 90? I wonder where that 90 comes from
The value of 150 is kept, at least it was for me. I set it to 180 earlier, just opened the INI again and it's set to 150 now.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Shadows settings

Post by King of Worms »

pango wrote: Tue Oct 15, 2019 2:44 pm That setting value is clamped to 0.1 ... 150 range when loaded:
https://github.com/Interkarma/daggerfal ... er.cs#L217
Is the value of 150 kept, or does it also eventually resets to 90? I wonder where that 90 comes from
Hi, 90 is the default set by Interkarma I believe. He made these settings in the optimalization pass recently (last month or two)
So it reverts to the default value, even when read/write protected.
Thanks for the info of the 150, I will set that up and see if it gets reverted as well

EDIT: Maybe it reverts to last correct value? So to BadLuck it reverted to 150 and to me to 90. That would make sense. Will test that. Thanks guys!

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Shadows settings

Post by King of Worms »

150 seems to stick so far, thanks :)

I made another screen to demonstrate the cascading effect which gets very pronounced on the max settings, and is not present on one setting bellow max.

Its especially visible at the narrow lines, so all the cities houses etc. Another reason why I think the lower setting is actually better.
top.jpg
top.jpg (406.15 KiB) Viewed 2494 times

Post Reply