8 if (gl_Vertex.x < 30.0)
9 gl_FrontColor = vec4(1.0, 0.0, 0.0, 0.0);
11 gl_FrontColor = vec4(0.0, 1.0, 0.0, 0.0);
12 gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
15 [fragment shader file]
20 clear color 0.5 0.5 0.5 0.5
24 probe rgb 15 15 1.0 0.0 0.0
25 probe rgb 35 15 0.0 1.0 0.0