1#version 450 2 3in float inf; 4out vec4 outf4; 5 6void main() 7{ 8 if (inf > 2.0) 9 outf4 = vec4(inf); 10 else 11 outf4 = vec4(inf + -.5); 12} 13