| 1 | uniform mat4 uMVPMatrix; |
| 2 | |
| 3 | attribute vec2 a_TexCoordinate; |
| 4 | attribute vec3 a_Normal; |
| 5 | attribute vec4 vPosition; |
| 6 | |
| 7 | varying vec3 vNormal; |
| 8 | varying vec2 vUV; |
| 9 | varying vec3 modelViewVertex; |
| 10 | |
| 11 | void main() { |
| 12 | modelViewVertex = vec3(uMVPMatrix * vPosition); |
| 13 | vUV = a_TexCoordinate; |
| 14 | vNormal = a_Normal; |
| 15 | gl_Position = uMVPMatrix * vPosition; |
| 16 | } |