• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1varying vec2 varTex0;
2
3void main() {
4   vec2 blurCoord = varTex0;
5   blurCoord.x = varTex0.x + UNI_blurOffset0;
6   vec3 col = texture2D(UNI_color, blurCoord).rgb;
7   blurCoord.x = varTex0.x + UNI_blurOffset1;
8   col += texture2D(UNI_color, blurCoord).rgb;
9   blurCoord.x = varTex0.x + UNI_blurOffset2;
10   col += texture2D(UNI_color, blurCoord).rgb;
11   blurCoord.x = varTex0.x + UNI_blurOffset3;
12   col += texture2D(UNI_color, blurCoord).rgb;
13
14   gl_FragColor = vec4(col * 0.25, 0.0);
15}
16