[require] GLSL >= 1.20 [vertex shader] #version 120 void main() { gl_Position = gl_Vertex; } [fragment shader] #version 120 uniform bvec4 color = bvec4(false, true, false, false); void main() { gl_FragColor = vec4(color); } [test] draw rect -1 -1 2 2 probe all rgba 0.0 1.0 0.0 0.0