6 varying vec4 gl_TexCoord[5];
9 /* 0.05, 0.05, 0.10, 0.15, 0.20 */
10 for (int i = 0; i < 5; i++)
11 gl_TexCoord[i] = vec4(float(i) * 0.05);
13 gl_Position = gl_Vertex;
17 varying vec4 gl_TexCoord[5];
20 vec4 result = vec4(0.0);
22 for (int i = 0; i < 4; i++)
23 result += gl_TexCoord[i];
25 /* 0.00 + 0.05 + 0.10 + 0.15 = 0.30 */
26 gl_FragColor = result;
31 probe rgba 1 1 0.3 0.3 0.3 0.3