Skip to content
Snippets Groups Projects
Commit d2f12a27 authored by dg's avatar dg
Browse files

more

git-svn-id: http://svn.net-core.org/repos/t-engine4@5410 51575b47-30f0-44d4-a5cc-537603b46e54
parent f2aee5b2
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,12 @@ void main(void)
vec2 uv = gl_TexCoord[0].xy;
vec2 r = vec2(rand(mapCoord / texSize));
int blursize = 2;
int blursize = 1;
vec2 offset = 1.0/texSize;
if (r.x < 0.5) blursize = 2;
else blursize = 3;
// Center Pixel
vec4 sample = vec4(0.0,0.0,0.0,0.0);
float factor = ((float(blursize)*2.0)+1.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment