1 #version 310 es 2 3 precision highp float; 4 5 layout(location = 0) in vec3 color; 6 7 layout(location = 0) out vec4 fragcolor; 8 9 void main() 10 { 11 fragcolor = vec4(color, 0.5); 12 } 13