8 gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
13 uniform int count1, count2;
18 array[0] = vec4(0.1, 0, 0, 0) * one;
19 array[1] = vec4(0, 0.1, 0, 0) * one;
20 array[2] = vec4(0, 0, 0.1, 0) * one;
21 array[3] = vec4(0, 0.1, 0, 0) * one;
22 array[4] = vec4(0, 0 , 0.1, 0) * one;
23 array[5] = vec4(0, 0, 0.1, 0) * one;
24 array[6] = vec4(0.1, 0, 0, 0) * one;
25 array[7] = vec4(0, 0.1, 0, 0) * one;
26 array[8] = vec4(0, 0.1, 0.1, 0) * one;
27 array[9] = vec4(0.1, 0.1, 0, 0) * one;
28 array[10] = vec4(0.1, 0, 0.1, 0) * one;
30 for (int i = 0; i < count1; i++)
31 for (int j = 0; j < count2; j++)
38 clear color 0.5 0.5 0.5 0.5
50 probe rgb 35 15 0.1 0 0
55 probe rgb 55 15 0.2 0.1 0
60 probe rgb 75 15 0.1 0.1 0.1
65 probe rgb 95 15 0.1 0.2 0.3
69 draw rect 110 10 10 10
70 probe rgb 115 15 0.2 0.3 0.3
74 draw rect 130 10 10 10
75 probe rgb 135 15 0.2 0.4 0.4
79 draw rect 150 10 10 10
80 probe rgb 155 15 0.2 0.3 0.3
84 draw rect 170 10 10 10
85 probe rgb 175 15 0.3 0.2 0
89 draw rect 190 10 10 10
90 probe rgb 195 15 0.4 0.4 0.2
94 draw rect 210 10 10 10
95 probe rgb 215 15 0.5 0.7 0.6