• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#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}
17