#version 330 core
in float fragmentValue;
void main() {
gl_FragColor = vec4(mix(vec3(1.0, 0.0, 0.0), vec3(0.0, 1.0, 0.0), fragmentValue), 1.0);
}