[XCX] [WWHD] [MK8] Shadow flicker fix v2 - Rounding

Fixes rounding so shadows should work fine for res packs below 1280 x
720
This commit is contained in:
getdls 2018-02-20 18:29:24 +01:00
parent a740eeb463
commit 6490a99614
3 changed files with 4 additions and 18 deletions

View File

@ -35,8 +35,8 @@ overwriteHeight = <?=round($scaleFactorY*720)?>
width = 1024
height = 1024
formats = 0x005 #shadows 2 lod slices
overwriteWidth = <?=round($scaleFactorY*1024)?>
overwriteHeight = <?=round($scaleFactorY*1024)?>
overwriteWidth = <?=round($scaleFactorY)*1024?>
overwriteHeight = <?=round($scaleFactorY)*1024?>
#[TextureRedefine] ##gloss, reflections, don't scale
#width = 768

View File

@ -66,5 +66,5 @@ overwriteHeight = <?=round($scaleFactorY*33*2)?>
width = 1024
height = 1024
formats = 0x005
overwriteWidth = <?=round($scaleFactorY*1024*2)?>
overwriteHeight = <?=round($scaleFactorY*1024*2)?>
overwriteWidth = <?=round($scaleFactorY)*1024?>
overwriteHeight = <?=round($scaleFactorY)*1024?>

View File

@ -209,17 +209,3 @@ height = 8
formats = 0x806
overwriteWidth = <?=round($scaleFactorX*8)?>
overwriteHeight = <?=round($scaleFactorY*8)?>
[TextureRedefine] #
width = 4
height = 4
formats = 0x80e,0x81e #R16,RG16
overwriteWidth = <?=round($scaleFactorX*4)?>
overwriteHeight = <?=round($scaleFactorY*4)?>
[TextureRedefine] #
width = 1
height = 1
formats = 0x008,0x01a,081e
overwriteWidth = <?=round($scaleFactorX*1)?>
overwriteHeight = <?=round($scaleFactorY*1)?>