Fix minor glitch with 5xBR effects.

This commit is contained in:
LunaMoo 2017-03-22 23:56:52 +01:00
parent 35e2a5a7d1
commit 1f1db63068
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ void main() {
vec2 pS = 1.0 / u_texelDelta.xy;
vec2 fp = fract(v_texcoord0.xy*pS.xy);
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy;
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_texelDelta.xy;
vec2 dx = vec2(u_texelDelta.x,0.0);
vec2 dy = vec2(0.0,u_texelDelta.y);
vec2 y2 = dy + dy; vec2 x2 = dx + dx;

View File

@ -66,7 +66,7 @@ void main(){
vec2 pS = 1.0 / u_texelDelta.xy;
vec2 fp = fract(v_texcoord0.xy*pS.xy);
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy;
vec2 TexCoord_0 = v_texcoord0.xy-fp*u_texelDelta.xy;
vec2 dx = vec2(u_texelDelta.x,0.0);
vec2 dy = vec2(0.0,u_texelDelta.y);
vec2 y2 = dy + dy; vec2 x2 = dx + dx;