1#version 310 es 2precision mediump float; 3 4layout(location = 0) out vec4 FragColor; 5layout(location = 0) in vec4 vColor; 6 7void main() 8{ 9 FragColor = gl_FragCoord + vColor; 10 gl_FragDepth = 0.5; 11} 12