mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-29 04:44:15 +01:00
[SM3DW] Fix lensflare
This commit is contained in:
parent
b7e05e4e45
commit
687b2a2442
@ -68,7 +68,7 @@ R1f.y = backupReg1f;
|
||||
R1f.y *= 2.0;
|
||||
R1f.z = 0.0;
|
||||
R1f.w = 1.0;
|
||||
PS0f = intBitsToFloat(uf_remappedVS[0].x/resXScale) * intBitsToFloat(0x3f99999a);
|
||||
PS0f = intBitsToFloat(uf_remappedVS[0].x)/resXScale * intBitsToFloat(0x3f99999a);
|
||||
// 1
|
||||
backupReg0f = R2f.x;
|
||||
backupReg0f = R2f.x;
|
||||
|
@ -72,11 +72,11 @@ R1f.y = backupReg1f;
|
||||
R1f.y *= 2.0;
|
||||
R1f.z = 0.0;
|
||||
R1f.w = 1.0;
|
||||
PS0f = intBitsToFloat(uf_remappedVS[0].x/resXScale) + R2f.x;
|
||||
PS0f = intBitsToFloat(uf_remappedVS[0].x)/resXScale + R2f.x;
|
||||
// 1
|
||||
R0f.x = PS0f;
|
||||
R0f.y = R2f.y;
|
||||
PV1f.z = -(intBitsToFloat(uf_remappedVS[0].x/resXScale)) + R2f.x;
|
||||
PV1f.z = -(intBitsToFloat(uf_remappedVS[0].x))/resXScale + R2f.x;
|
||||
R3f.w = R2f.y;
|
||||
R4f.x = R2f.x;
|
||||
PS1f = R4f.x;
|
||||
|
Loading…
Reference in New Issue
Block a user