blob: 3d6f93c51938b360602457607338b4da18e3e027 [file] [log] [blame]
John Kessenich2f21fcc2015-06-17 16:15:09 +00001#version 110
2
3uniform vec4 bigColor;
4varying vec4 BaseColor;
5uniform float d;
6
7void main()
8{
9 vec4 color = BaseColor;
10
11 do {
12 color += bigColor;
13 } while (color.x < d);
14
15 gl_FragColor = color;
16}