[BotW] fix sth i just broke... (camera dof)

dang thought they gonna be fine without these which apparently not
This commit is contained in:
NAVras-Z 2017-10-13 12:32:15 +08:00
parent d3de96e30e
commit 5fb6f76021
11 changed files with 11 additions and 11 deletions

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;

View File

@ -129,7 +129,7 @@ R4i.xyz = floatBitsToInt(textureLod(textureUnitPS1, intBitsToFloat(R4i.zy),intBi
if( activeMaskStackC[2] == true ) {
vec2 R9f = vec2( passParameterSem2.x, passParameterSem2.y ); //center point
vec2 res = vec2( R2i.x - R1i.x, R3i.x - R4i.y ) * uf_fragCoordScale;
vec2 res = vec2( intBitsToFloat(R2i.x) - intBitsToFloat(R1i.x), intBitsToFloat(R3i.x) - intBitsToFloat(R4i.y) ) * uf_fragCoordScale;
int r = int(floor(1.0 / uf_fragCoordScale.y + 0.5));
vec3 R10f = vec3(0.0);
float count = 0.0;