blob: a9541f9179cdc268db95171a6a256bd61259ab1e [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 while (color.x < d) {
12 color += bigColor;
13 }
14
15 gl_FragColor = color;
16}