mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
Merge branch 'master' into master
This commit is contained in:
commit
6a4494faa1
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -6,34 +6,45 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 5120
|
||||||
|
overwriteHeight = 2880
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 5120
|
overwriteWidth = 5120
|
||||||
overwriteHeight = 2880
|
overwriteHeight = 2880
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 2560
|
||||||
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
overwriteWidth = 1280
|
overwriteWidth = 1280
|
||||||
overwriteHeight = 720
|
overwriteHeight = 720
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha (gamepad)
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
width = 427
|
width = 320
|
||||||
height = 240
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formats = 0x816
|
||||||
overwriteWidth = 1280
|
overwriteFormat = 0x823
|
||||||
overwriteHeight = 720
|
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha (multiplayer)
|
|
||||||
width = 424
|
|
||||||
height = 240
|
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
|
||||||
overwriteWidth = 1280
|
overwriteWidth = 1280
|
||||||
overwriteHeight = 720
|
overwriteHeight = 720
|
||||||
|
|
||||||
@ -54,3 +65,17 @@ width = 848
|
|||||||
height = 480
|
height = 480
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (gamepad)
|
||||||
|
width = 427
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (multiplayer)
|
||||||
|
width = 424
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
@ -6,36 +6,47 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 7680
|
||||||
|
overwriteHeight = 4320
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 7680
|
overwriteWidth = 7680
|
||||||
overwriteHeight = 4320
|
overwriteHeight = 4320
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 3840
|
||||||
|
overwriteHeight = 2160
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 3840
|
overwriteWidth = 3840
|
||||||
overwriteHeight = 2160
|
overwriteHeight = 2160
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
overwriteWidth = 1920
|
overwriteWidth = 1920
|
||||||
overwriteHeight = 1080
|
overwriteHeight = 1080
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha (gamepad)
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
width = 427
|
width = 320
|
||||||
height = 240
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formats = 0x816
|
||||||
overwriteWidth = 1280
|
overwriteFormat = 0x823
|
||||||
overwriteHeight = 720
|
overwriteWidth = 1920
|
||||||
|
overwriteHeight = 1080
|
||||||
[TextureRedefine] # half-res alpha (multiplayer)
|
|
||||||
width = 424
|
|
||||||
height = 240
|
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
|
||||||
overwriteWidth = 1280
|
|
||||||
overwriteHeight = 720
|
|
||||||
|
|
||||||
[TextureRedefine] # squid sisters
|
[TextureRedefine] # squid sisters
|
||||||
width = 1024
|
width = 1024
|
||||||
@ -54,3 +65,17 @@ width = 848
|
|||||||
height = 480
|
height = 480
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (gamepad)
|
||||||
|
width = 427
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (multiplayer)
|
||||||
|
width = 424
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
@ -6,36 +6,47 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 10240
|
||||||
|
overwriteHeight = 5760
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 10240
|
overwriteWidth = 10240
|
||||||
overwriteHeight = 5760
|
overwriteHeight = 5760
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 5120
|
||||||
|
overwriteHeight = 2880
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 5120
|
overwriteWidth = 5120
|
||||||
overwriteHeight = 2880
|
overwriteHeight = 2880
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha (gamepad)
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
width = 427
|
width = 320
|
||||||
height = 240
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formats = 0x816
|
||||||
overwriteWidth = 1280
|
overwriteFormat = 0x823
|
||||||
overwriteHeight = 720
|
overwriteWidth = 2560
|
||||||
|
overwriteHeight = 1440
|
||||||
[TextureRedefine] # half-res alpha (multiplayer)
|
|
||||||
width = 424
|
|
||||||
height = 240
|
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
|
||||||
overwriteWidth = 1280
|
|
||||||
overwriteHeight = 720
|
|
||||||
|
|
||||||
[TextureRedefine] # squid sisters
|
[TextureRedefine] # squid sisters
|
||||||
width = 1024
|
width = 1024
|
||||||
@ -54,3 +65,17 @@ width = 848
|
|||||||
height = 480
|
height = 480
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (gamepad)
|
||||||
|
width = 427
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (multiplayer)
|
||||||
|
width = 424
|
||||||
|
height = 240
|
||||||
|
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -23,16 +23,15 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
for (int i=0; i<r; i++) {
|
float count = 0.0;
|
||||||
float m = (1-r)/2 + float(i);
|
|
||||||
for (int k=0; k<r; k++){
|
for( int x=-r; x<=r; x++ ) {
|
||||||
float n = (1-r)/2 + float(k);
|
for( int y=-r; y<=r; y++ ) {
|
||||||
R1f += texture( textureUnitPS0, R0f+ vec2(m,n) * 2.0 /res )/(pow(r,2)-4); //assume 2px offset as well
|
if( pow(x,2) + pow(y,2) <= pow(r,2) ) {
|
||||||
|
R1f += texture( textureUnitPS0, R0f + vec2(x,y)/res );
|
||||||
|
count += 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
}
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((1-r)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4);
|
passPixelColor0 = R1f/count;
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(1-r)/2) * 2.0 /res )/(pow(r,2)-4);
|
|
||||||
R1f -= texture( textureUnitPS0, R0f+ vec2((r-1)/2,(r-1)/2) * 2.0 /res )/(pow(r,2)-4); //workaround, less like a square, needs proper bokeh
|
|
||||||
passPixelColor0 = R1f;
|
|
||||||
}
|
}
|
@ -23,6 +23,7 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
|
|
||||||
for (int i=0; i<r; i++) {
|
for (int i=0; i<r; i++) {
|
||||||
float m = (1-r)/2 + float(i);
|
float m = (1-r)/2 + float(i);
|
||||||
for (int k=0; k<r; k++){
|
for (int k=0; k<r; k++){
|
||||||
|
@ -23,6 +23,7 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
|
|
||||||
for (int i=0; i<r; i++) {
|
for (int i=0; i<r; i++) {
|
||||||
float m = (1-r)/2 + float(i);
|
float m = (1-r)/2 + float(i);
|
||||||
for (int k=0; k<r; k++){
|
for (int k=0; k<r; k++){
|
||||||
|
@ -23,6 +23,7 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
|
|
||||||
for (int i=0; i<r; i++) {
|
for (int i=0; i<r; i++) {
|
||||||
float m = (1-r)/2 + float(i);
|
float m = (1-r)/2 + float(i);
|
||||||
for (int k=0; k<r; k++){
|
for (int k=0; k<r; k++){
|
||||||
|
@ -23,6 +23,7 @@ ivec2 ires = textureSize(textureUnitPS0,0);
|
|||||||
vec2 res = vec2( float(ires.x), float(ires.y) );
|
vec2 res = vec2( float(ires.x), float(ires.y) );
|
||||||
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
int r = int(floor(2.0 / uf_fragCoordScale.y + 0.5));
|
||||||
vec4 R1f = vec4(0.0);
|
vec4 R1f = vec4(0.0);
|
||||||
|
|
||||||
for (int i=0; i<r; i++) {
|
for (int i=0; i<r; i++) {
|
||||||
float m = (1-r)/2 + float(i);
|
float m = (1-r)/2 + float(i);
|
||||||
for (int k=0; k<r; k++){
|
for (int k=0; k<r; k++){
|
||||||
|
78
Quality/HyruleWarriors_1440p/rules.txt
Normal file
78
Quality/HyruleWarriors_1440p/rules.txt
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
[Definition]
|
||||||
|
titleIds = 000500001017D800,000500001017D900,000500001017CD00
|
||||||
|
name = "Hyrule Warriors - 2560x1440"
|
||||||
|
version = 2
|
||||||
|
|
||||||
|
[TextureRedefine] #Game Resolution
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formatsExcluded = 0x431,0x433
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = 2560
|
||||||
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] #Only saw depth in Nsight
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
||||||
|
|
||||||
|
[TextureRedefine] #Lighting?
|
||||||
|
width = 322
|
||||||
|
height = 182
|
||||||
|
overwriteWidth = 644
|
||||||
|
overwriteHeight = 364
|
||||||
|
|
||||||
|
[TextureRedefine] #Dupe of Main Game
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
overwriteWidth = 640
|
||||||
|
overwriteHeight = 360
|
||||||
|
|
||||||
|
[TextureRedefine] #Lighting Blur?
|
||||||
|
width = 162
|
||||||
|
height = 92
|
||||||
|
overwriteWidth = 324
|
||||||
|
overwriteHeight = 184
|
||||||
|
|
||||||
|
[TextureRedefine] #Lighting Blur?
|
||||||
|
width = 160
|
||||||
|
height = 90
|
||||||
|
overwriteWidth = 320
|
||||||
|
overwriteHeight = 180
|
||||||
|
|
||||||
|
#[TextureRedefine] #Shadows?
|
||||||
|
#width = 1024
|
||||||
|
#height = 2048
|
||||||
|
#formats = 0x005
|
||||||
|
#overwriteWidth = 2048
|
||||||
|
#overwriteHeight = 4096
|
||||||
|
|
||||||
|
#[TextureRedefine] #Dupe of Main Game?
|
||||||
|
#width = 64
|
||||||
|
#height = 64
|
||||||
|
#formats = 0x005
|
||||||
|
#overwriteWidth = 128
|
||||||
|
#overwriteHeight = 128
|
||||||
|
|
||||||
|
#[TextureRedefine] #Dupe of Main Game?
|
||||||
|
#width = 16
|
||||||
|
#height = 16
|
||||||
|
#formats = 0x005
|
||||||
|
#overwriteWidth = 32
|
||||||
|
#overwriteHeight = 32
|
||||||
|
|
||||||
|
#[TextureRedefine] #Dupe of Main Game?
|
||||||
|
#width = 4
|
||||||
|
#height = 4
|
||||||
|
#formats = 0x005
|
||||||
|
#overwriteWidth = 8
|
||||||
|
#overwriteHeight = 8
|
||||||
|
|
||||||
|
#[TextureRedefine] #Dupe of Main Game?
|
||||||
|
#width = 1
|
||||||
|
#height = 1
|
||||||
|
#formats = 0x005
|
||||||
|
#overwriteWidth = 2
|
||||||
|
#overwriteHeight = 2
|
@ -3,11 +3,21 @@ titleIds = 000500001010ec00,000500001010ed00,000500001010eb00,ffffffff85887bc1
|
|||||||
name = "Mario Kart 8 - 3840x2160"
|
name = "Mario Kart 8 - 3840x2160"
|
||||||
version = 2
|
version = 2
|
||||||
|
|
||||||
|
# Main Screen Resolution better color depth
|
||||||
|
[TextureRedefine]
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x19,0x1a
|
||||||
|
overwriteFormat = 0x1f
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = 3840
|
||||||
|
overwriteHeight = 2160
|
||||||
|
|
||||||
# Main Screen Resolution
|
# Main Screen Resolution
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
formatsExcluded = 0x41A,0x431 # exclude the intro background texture, race end background
|
formatsExcluded = 0x41A,0x431,0x19,0x1a # exclude the intro background texture, race end background
|
||||||
overwriteWidth = 3840
|
overwriteWidth = 3840
|
||||||
overwriteHeight = 2160
|
overwriteHeight = 2160
|
||||||
|
|
||||||
|
@ -6,20 +6,45 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 1920
|
||||||
|
overwriteHeight = 1080
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 1920
|
overwriteWidth = 1920
|
||||||
overwriteHeight = 1080
|
overwriteHeight = 1080
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 960
|
||||||
|
overwriteHeight = 540
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 960
|
overwriteWidth = 960
|
||||||
overwriteHeight = 540
|
overwriteHeight = 540
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 480
|
||||||
|
overwriteHeight = 270
|
||||||
|
|
||||||
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 480
|
overwriteWidth = 480
|
||||||
overwriteHeight = 270
|
overwriteHeight = 270
|
||||||
|
|
||||||
|
@ -6,20 +6,45 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 2560
|
||||||
|
overwriteHeight = 1080
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1080
|
overwriteHeight = 1080
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 540
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 1280
|
overwriteWidth = 1280
|
||||||
overwriteHeight = 540
|
overwriteHeight = 540
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 640
|
||||||
|
overwriteHeight = 270
|
||||||
|
|
||||||
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 640
|
overwriteWidth = 640
|
||||||
overwriteHeight = 270
|
overwriteHeight = 270
|
||||||
|
|
||||||
|
@ -6,20 +6,45 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 2560
|
||||||
|
overwriteHeight = 1440
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 2560
|
overwriteWidth = 2560
|
||||||
overwriteHeight = 1440
|
overwriteHeight = 1440
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 1280
|
||||||
|
overwriteHeight = 720
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 1280
|
overwriteWidth = 1280
|
||||||
overwriteHeight = 720
|
overwriteHeight = 720
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 640
|
||||||
|
overwriteHeight = 360
|
||||||
|
|
||||||
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 640
|
overwriteWidth = 640
|
||||||
overwriteHeight = 360
|
overwriteHeight = 360
|
||||||
|
|
||||||
|
@ -6,20 +6,45 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816
|
||||||
|
overwriteWidth = 3200
|
||||||
|
overwriteHeight = 1800
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 3200
|
overwriteWidth = 3200
|
||||||
overwriteHeight = 1800
|
overwriteHeight = 1800
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 1600
|
||||||
|
overwriteHeight = 900
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 1600
|
overwriteWidth = 1600
|
||||||
overwriteHeight = 900
|
overwriteHeight = 900
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 800
|
||||||
|
overwriteHeight = 450
|
||||||
|
|
||||||
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 800
|
overwriteWidth = 800
|
||||||
overwriteHeight = 450
|
overwriteHeight = 450
|
||||||
|
|
||||||
|
@ -6,20 +6,54 @@ version = 2
|
|||||||
[TextureRedefine] # tv
|
[TextureRedefine] # tv
|
||||||
width = 1280
|
width = 1280
|
||||||
height = 720
|
height = 720
|
||||||
|
formatsExcluded = 0x816,0x19,0x1a
|
||||||
|
overwriteWidth = 3840
|
||||||
|
overwriteHeight = 2160
|
||||||
|
|
||||||
|
[TextureRedefine] #TV
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x19,0x1a
|
||||||
|
overwriteFormat = 0x1f
|
||||||
|
tileModesExcluded = 0x001
|
||||||
|
overwriteWidth = 3840
|
||||||
|
overwriteHeight = 2160
|
||||||
|
|
||||||
|
[TextureRedefine] # tv (increased depth)
|
||||||
|
width = 1280
|
||||||
|
height = 720
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 3840
|
overwriteWidth = 3840
|
||||||
overwriteHeight = 2160
|
overwriteHeight = 2160
|
||||||
|
|
||||||
[TextureRedefine] # half-res alpha
|
[TextureRedefine] # half-res alpha
|
||||||
width = 640
|
width = 640
|
||||||
height = 360
|
height = 360
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 1920
|
||||||
|
overwriteHeight = 1080
|
||||||
|
|
||||||
|
[TextureRedefine] # half-res alpha (increased depth)
|
||||||
|
width = 640
|
||||||
|
height = 360
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 1920
|
overwriteWidth = 1920
|
||||||
overwriteHeight = 1080
|
overwriteHeight = 1080
|
||||||
|
|
||||||
[TextureRedefine] # quarter-res alpha
|
[TextureRedefine] # quarter-res alpha
|
||||||
width = 320
|
width = 320
|
||||||
height = 180
|
height = 180
|
||||||
formatsExcluded = 0x41A,0x431 # exclude obvious textures
|
formatsExcluded = 0x41A,0x431,0x816 # exclude obvious textures
|
||||||
|
overwriteWidth = 960
|
||||||
|
overwriteHeight = 540
|
||||||
|
|
||||||
|
[TextureRedefine] # quarter-res alpha (increased depth)
|
||||||
|
width = 320
|
||||||
|
height = 180
|
||||||
|
formats = 0x816
|
||||||
|
overwriteFormat = 0x823
|
||||||
overwriteWidth = 960
|
overwriteWidth = 960
|
||||||
overwriteHeight = 540
|
overwriteHeight = 540
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user