12 array[0] = vec4(0.2, 0, 0, 0) * one;
13 array[1] = vec4(0, 0.2, 0, 0) * one;
14 array[2] = vec4(0, 0, 0.2, 0) * one;
15 array[3] = vec4(0.2, 0.2, 0, 0) * one;
16 array[4] = vec4(0, 0.2, 0.2, 0) * one;
17 array[5] = vec4(0.2, 0, 0.2, 0) * one;
18 array[6] = vec4(0, 0, 0, 0) * one;
19 array[7] = vec4(0.2, 0.2, 0.2, 0) * one;
20 gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
22 for (int i = 0; i < count; i++)
27 [fragment shader file]
32 clear color 0.5 0.5 0.5 0.5
42 probe rgb 35 15 0.2 0 0
46 probe rgb 55 15 0.2 0.2 0
50 probe rgb 75 15 0.2 0.2 0.2
54 probe rgb 95 15 0.4 0.4 0.2
57 draw rect 110 10 10 10
58 probe rgb 115 15 0.4 0.6 0.4
61 draw rect 130 10 10 10
62 probe rgb 135 15 0.6 0.6 0.6
65 draw rect 150 10 10 10
66 probe rgb 155 15 0.6 0.6 0.6
69 draw rect 170 10 10 10
70 probe rgb 175 15 0.8 0.8 0.8