[BotW] fix camera... again

_'tough luck, nightwings'_
This commit is contained in:
NAVras-Z 2017-10-14 08:49:32 +08:00
parent b254e944ab
commit 3e2c260094
11 changed files with 11 additions and 77 deletions

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;

View File

@ -121,15 +121,9 @@ R4i.y = floatBitsToInt(intBitsToFloat(R0i.y) + -(intBitsToFloat(R127i.z)));
PS0i = R4i.y; PS0i = R4i.y;
} }
if( activeMaskStackC[2] == true ) { if( activeMaskStackC[2] == true ) {
R1i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R1i.xy),intBitsToFloat(R1i.w)).xyz);
R2i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R2i.xy),intBitsToFloat(R2i.z)).xyz);
R3i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R3i.zx),intBitsToFloat(R3i.w)).xyz);
R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBitsToFloat(R4i.w)).xyz);
}
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale; vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R4i.y) - intBitsToFloat(R3i.x) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5)); int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0); vec3 R10f = vec3(0.0);
float count = 0.0; float count = 0.0;