mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-18 06:11:28 -06:00
take hermite changes from #879
makes the shader look a lot better and less pixelated
This commit is contained in:
parent
49b6fb4924
commit
0ea358b95f
@ -120,7 +120,7 @@ vec3 BicubicHermiteTexture(vec2 uv, vec4 texelSize)
|
||||
vec2 frac = fract(pixel);
|
||||
pixel = floor(pixel) / texelSize.zw - vec2(texelSize.xy/2.0);
|
||||
|
||||
vec4 doubleSize = texelSize*texelSize;
|
||||
vec4 doubleSize = texelSize*2.0;
|
||||
|
||||
vec3 C00 = texture(textureSrc, pixel + vec2(-texelSize.x ,-texelSize.y)).rgb;
|
||||
vec3 C10 = texture(textureSrc, pixel + vec2( 0.0 ,-texelSize.y)).rgb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user