This commit is contained in:
Marisa the Magician 2022-10-04 09:05:48 +02:00
parent b410bf56dc
commit 876c151b3b
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
[default]
ASH_MODVER="\cjCHILD OF ASH\c- \cw0.1a r70 \cu(Fri 30 Sep 13:02:15 CEST 2022)\c-";
ASH_SHORTVER="\cw0.1a r70 \cu(2022-09-30 13:02:15)\c-";
ASH_MODVER="\cjCHILD OF ASH\c- \cw0.1a r71 \cu(Tue 4 Oct 09:05:48 CEST 2022)\c-";
ASH_SHORTVER="\cw0.1a r71 \cu(2022-10-04 09:05:48)\c-";

View File

@ -50,8 +50,8 @@ vec4 BilinearSample( in sampler2D tex, in vec2 pos, in vec2 size, in vec2 pxsize
vec2 f = fract(pos*size);
pos += (.5-f)*pxsize;
vec4 p0q0 = texture(tex,pos);
vec4 p1q0 = texture(tex,pos+vec2(pxsize.x,0));
vec4 p0q1 = texture(tex,pos+vec2(0,pxsize.y));
vec4 p1q0 = texture(tex,pos+vec2(pxsize.x,0.));
vec4 p0q1 = texture(tex,pos+vec2(0.,pxsize.y));
vec4 p1q1 = texture(tex,pos+vec2(pxsize.x,pxsize.y));
vec4 pInterp_q0 = mix(p0q0,p1q0,f.x);
vec4 pInterp_q1 = mix(p0q1,p1q1,f.x);