6 /* VS array access (read-only) from temps using a varying
7 * array index per vert.
14 colors[0] = vec4(one, 0.0, 0.0, 0.0);
15 colors[1] = vec4(0.0, one, 0.0, 0.0);
16 colors[2] = vec4(0.0, 0.0, one, 0.0);
17 colors[3] = vec4(one, 0.0, one, 0.0);
19 gl_Position = gl_Vertex;
21 int index = int((gl_Vertex.x + 1.0) * 0.5 + (gl_Vertex.y + 1.0));
22 color = colors[index];
35 relative probe rgb (0.0, 0.0) (1.0, 0.0, 0.0, 0.0)
36 relative probe rgb (1.0, 0.0) (0.0, 1.0, 0.0, 0.0)
37 relative probe rgb (0.0, 1.0) (0.0, 0.0, 1.0, 0.0)
38 relative probe rgb (1.0, 1.0) (1.0, 0.0, 1.0, 0.0)