2015-09-02 03:44:16 +03:00
|
|
|
#version 100
|
|
|
|
|
|
|
|
attribute vec3 vertexPosition;
|
|
|
|
attribute vec2 vertexTexCoord;
|
|
|
|
attribute vec3 vertexNormal;
|
|
|
|
|
|
|
|
varying vec2 fragTexCoord;
|
|
|
|
|
2016-01-13 19:13:28 +03:00
|
|
|
uniform mat4 mvpMatrix;
|
2015-09-02 03:44:16 +03:00
|
|
|
|
|
|
|
// NOTE: Add here your custom variables
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
vec3 normal = vertexNormal;
|
|
|
|
|
|
|
|
fragTexCoord = vertexTexCoord;
|
|
|
|
|
2016-01-13 19:13:28 +03:00
|
|
|
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
|
2015-09-02 03:44:16 +03:00
|
|
|
}
|