[TMS] Map fix, bloom scaling

This commit is contained in:
getdls 2019-02-09 21:34:35 +01:00
parent e68e4147d6
commit 85d5c73eab
2 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -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