mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-22 22:51:15 +01:00
[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:
parent
a740eeb463
commit
6490a99614
@ -35,8 +35,8 @@ overwriteHeight = <?=round($scaleFactorY*720)?>
|
|||||||
width = 1024
|
width = 1024
|
||||||
height = 1024
|
height = 1024
|
||||||
formats = 0x005 #shadows 2 lod slices
|
formats = 0x005 #shadows 2 lod slices
|
||||||
overwriteWidth = <?=round($scaleFactorY*1024)?>
|
overwriteWidth = <?=round($scaleFactorY)*1024?>
|
||||||
overwriteHeight = <?=round($scaleFactorY*1024)?>
|
overwriteHeight = <?=round($scaleFactorY)*1024?>
|
||||||
|
|
||||||
#[TextureRedefine] ##gloss, reflections, don't scale
|
#[TextureRedefine] ##gloss, reflections, don't scale
|
||||||
#width = 768
|
#width = 768
|
||||||
|
@ -66,5 +66,5 @@ overwriteHeight = <?=round($scaleFactorY*33*2)?>
|
|||||||
width = 1024
|
width = 1024
|
||||||
height = 1024
|
height = 1024
|
||||||
formats = 0x005
|
formats = 0x005
|
||||||
overwriteWidth = <?=round($scaleFactorY*1024*2)?>
|
overwriteWidth = <?=round($scaleFactorY)*1024?>
|
||||||
overwriteHeight = <?=round($scaleFactorY*1024*2)?>
|
overwriteHeight = <?=round($scaleFactorY)*1024?>
|
@ -209,17 +209,3 @@ height = 8
|
|||||||
formats = 0x806
|
formats = 0x806
|
||||||
overwriteWidth = <?=round($scaleFactorX*8)?>
|
overwriteWidth = <?=round($scaleFactorX*8)?>
|
||||||
overwriteHeight = <?=round($scaleFactorY*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)?>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user