Files
third_party_mesa3d/progs/fpglsl/for.glsl
2010-03-10 15:37:18 -05:00

12 lines
184 B
GLSL

uniform int KernelSizeInt;
void main() {
int i;
vec4 sum = vec4(0.0);
for (i = 0; i < KernelSizeInt; ++i) {
sum.g += 0.25;
}
sum.a = 1;
gl_FragColor = sum;
}