Take more sample

This commit is contained in:
Vincent Lejeune 2014-11-02 02:42:44 +01:00
parent 1ecd8dcf4f
commit f5a44c0a19
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ void main()
vec4 sum = texture(tex, vec2(X, Y)) * g0;
g0 *= g1;
g1 *= g2;
for (int i = 1; i < 3; i++) {
for (int i = 1; i < 6; i++) {
sum += texture(tex, vec2(X - i * pixel.x, Y)) * g0;
sum += texture(tex, vec2(X + i * pixel.x, Y)) * g0;
g0 *= g1;

View File

@ -20,7 +20,7 @@ void main()
vec4 sum = texture(tex, vec2(X, Y)) * g0;
g0 *= g1;
g1 *= g2;
for (int i = 1; i < 3; i++) {
for (int i = 1; i < 6; i++) {
sum += texture(tex, vec2(X, Y - i * pixel.y)) * g0;
sum += texture(tex, vec2(X, Y + i * pixel.y)) * g0;
g0 *= g1;