blob: a3adb3dfeb2cf851f06ba8b7e5759fab30df0a16 [file] [log] [blame]
void main() {
gl_Position = gl_Vertex;
gl_FrontColor = gl_Color;
if (gl_Position.x < 0.5) {
gl_FrontColor.y = 1.0;
}
gl_FrontColor.xzw = vec3(0, 0, 1);
}