mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-25 11:06:54 +01:00
[TMS] Map fix, bloom scaling
This commit is contained in:
parent
e68e4147d6
commit
85d5c73eab
@ -55,9 +55,9 @@ attrDecoder.z = 0;
|
|||||||
attrDecoder.w = 0;
|
attrDecoder.w = 0;
|
||||||
R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0)));
|
R2f = vec4(intBitsToFloat(int(attrDecoder.x)), intBitsToFloat(int(attrDecoder.y)), intBitsToFloat(floatBitsToInt(0.0)), intBitsToFloat(floatBitsToInt(1.0)));
|
||||||
// 0
|
// 0
|
||||||
R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y),intBitsToFloat(uf_remappedVS[0].z)) + R2f.y);
|
R127f.x = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.y);
|
||||||
PV0f.x = R127f.x;
|
PV0f.x = R127f.x;
|
||||||
R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x),intBitsToFloat(uf_remappedVS[0].z)) + R2f.x);
|
R123f.y = (mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].x)/ resXScale,intBitsToFloat(uf_remappedVS[0].z)) + R2f.x);
|
||||||
PV0f.y = R123f.y;
|
PV0f.y = R123f.y;
|
||||||
R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w));
|
R127f.z = mul_nonIEEE(intBitsToFloat(uf_remappedVS[0].y) / resYScale, intBitsToFloat(uf_remappedVS[0].w));
|
||||||
PV0f.z = R127f.z;
|
PV0f.z = R127f.z;
|
||||||
|
@ -205,6 +205,13 @@ height = 720
|
|||||||
overwriteWidth = ($width/$gameWidth) * 1014
|
overwriteWidth = ($width/$gameWidth) * 1014
|
||||||
overwriteHeight = ($height/$gameHeight) * 720
|
overwriteHeight = ($height/$gameHeight) * 720
|
||||||
|
|
||||||
|
[TextureRedefine]
|
||||||
|
width = 896
|
||||||
|
height = 480
|
||||||
|
formats = 0x001
|
||||||
|
overwriteWidth = ($width/$gameWidth) * 896
|
||||||
|
overwriteHeight = ($height/$gameHeight) * 480
|
||||||
|
|
||||||
[TextureRedefine] # Pad
|
[TextureRedefine] # Pad
|
||||||
width = 864
|
width = 864
|
||||||
height = 480
|
height = 480
|
||||||
|
Loading…
Reference in New Issue
Block a user