• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1attribute vec4 inPosition;
2attribute vec2 inTexCoord;
3
4uniform mat4 g_WorldViewProjectionMatrix;
5uniform mat4 g_WorldViewMatrix;
6
7varying vec2 texCoord;
8
9void main(){
10    gl_Position = g_WorldViewProjectionMatrix * inPosition;
11    texCoord = inTexCoord;
12}