BlanknameES / Div2Patch

7 stars 0 forks source link

Question regarding game shadows #1

Open TimothyJamesSchroeder opened 2 months ago

TimothyJamesSchroeder commented 2 months ago

Apologies if this is not the place to ask - I don't have much experience with Github! Would it be possible for you to add a setting for increasing shadow draw distance? I've been trying to modify it on my own to no avail, and figure you have a much better understanding of how the game's internals work. Something that really looks like it should control shadows is in each level's 006_StreamableInMemory file ([level's 006_StreamableInMemory.dv2]\World[level name]\Main\Lights\, with separate subfolders for each time of day, to be specific), yet testing by trying to change shadow resolutions there had no effect for me. You know anything about how this could be done, if it's possible? Just knowing which numbers to change in those files would be fine for me if you can't/don't want to implement a special setting for it (like some kind of multiplier).

BlanknameES commented 2 months ago

Someone else already brought this up to my attention some months ago. Cascaded shadows are hardcoded to be drawn at a max distance of 200.0 units. Changing this value is possible, but increasing it seems to have the side effect of lowering filtering quality of the shadows. A setting most likely will be added in the next update.

TimothyJamesSchroeder commented 2 months ago

I tend to prefer consistent shadows over sharp near, blurry far shadows, so that'd be fine with me. Nice to hear! Glad to see someone still maintaining something like this for an older game.

TimothyJamesSchroeder commented 2 months ago

Oh, and an additional request - an option to disable the awful radial blur that you get when moving around in dragon form.

BlanknameES commented 2 months ago

Added to my todo list.

Randalmcdaniel commented 1 week ago

Blankname do you work on any other games? The saboteur also doesnt feel very smooth despite reporting 60fps. Saints row 2 also, Godfather2 dont launch on PC at all. Those games need a genius like you!