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