[require] GLSL >= 1.10 [vertex shader] varying vec4 gl_TexCoord[2]; varying vec4 color; void main() { gl_TexCoord[0] = vec4(0.0, 1.0, 0.0, 1.0); gl_TexCoord[1] = vec4(1.0, 0.0, 0.0, 1.0); color = vec4(0.0, 0.0, 1.0, 1.0); gl_Position = ftransform(); } [fragment shader] varying vec4 gl_TexCoord[3]; varying vec4 color; void main() { gl_FragColor = gl_TexCoord[0] + color; } [test] draw rect -1 -1 2 2 probe all rgba 0.0 1.0 1.0 1.0