4 # GL_ARB_color_buffer_float provides a way to disable vertex color clamping,
5 # but without it, the vertex colors must be clamped.
10 gl_Position = ftransform();
11 gl_FrontColor = vec4(-2, -1, 0.5, 3); /* (0, 0, 0.5, 1) */
12 gl_FrontSecondaryColor = vec4(2, 0.5, 1.5, -0.5); /* (1, 0.5, 1, 0) */
19 gl_FragColor = (gl_Color + gl_SecondaryColor) * 0.5;
24 probe rgba 1 1 0.5 0.25 0.75 0.5