1uniform mat4 g_WorldViewProjectionMatrix; 2 3attribute vec4 inPosition; 4 5 6void main() { 7 vec2 pos = (g_WorldViewProjectionMatrix * inPosition).xy; 8 gl_Position = vec4(pos, 0.0, 1.0); 9}