Convert shaders in dali-demo to use shader compilation tool
[platform/core/uifw/dali-demo.git] / examples / refraction-effect / shaders / refraction-effect-flat.vert
1 // The shader source is used when the MeshActor is not touched
2
3 attribute mediump vec3    aPosition;
4 attribute mediump vec3    aNormal;
5 attribute highp   vec2    aTexCoord;
6 uniform   mediump mat4    uMvpMatrix;
7 varying   mediump vec2    vTexCoord;
8
9 void main()
10 {
11   gl_Position = uMvpMatrix * vec4( aPosition.xy, 0.0, 1.0 );
12   vTexCoord = aTexCoord.xy;
13 }