Logic fix for very high shadows on very large screens.
commit3c00ed7d5a33f121f8606c68b5ce12e23f76978c
authorStan <Stan@3db68df2-c116-0410-a063-a993310a9797>
Thu, 23 Jun 2022 17:04:13 +0000 (23 17:04 +0000)
committerStan <Stan@3db68df2-c116-0410-a063-a993310a9797>
Thu, 23 Jun 2022 17:04:13 +0000 (23 17:04 +0000)
tree7b30294fdb5b9dbecd395a47ca9a9cffd3577b87
parent8d053d7db17a2aed41c62041dabae4c0a7cbde0a
Logic fix for very high shadows on very large screens.
ON large screens like 5120x1440 calculated shadow map was 32768. That was 16x more than high setting, 32x more than medium setting and 64x more than low setting.

After this change shadow map sizes using very high setting by resolution will be following:
1920x1080 - 4096
2560x1440 - 4096
3840x1440 - 4096
5120x1440 - 8192
3840x2160 - 4096
7680x4320 - 8192
Patch by: @karmux
Reviewed by: @vladislavbelov, @Stan
Differential Revision: https://code.wildfiregames.com/D4723

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@26983 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/gui/credits/texts/programming.json
source/renderer/ShadowMap.cpp