Convert shaders in dali-demo to use shader compilation tool
[platform/core/uifw/dali-demo.git] / examples / fpp-game / shaders / game-renderer.vert
1 attribute highp vec3 aPosition;
2 attribute highp vec3 aNormal;
3 attribute highp vec2 aTexCoord;
4 uniform highp mat4 uMvpMatrix;
5 varying highp vec2 vTexCoord;
6
7 void main()
8 {
9   gl_Position = uMvpMatrix * vec4(aPosition, 1.0 );
10   vTexCoord = aTexCoord;
11   vTexCoord.y = 1.0 - vTexCoord.y;
12 }