#version 400 uniform float r; out vec4 color; void main() { color = vec4(r,r,r,0); }