2015-09-02 02:06:55 +03:00
|
|
|
#version 330
|
2015-05-05 00:46:31 +03:00
|
|
|
|
2015-09-02 02:06:55 +03:00
|
|
|
in vec3 vertexPosition;
|
|
|
|
in vec2 vertexTexCoord;
|
|
|
|
in vec3 vertexNormal;
|
|
|
|
|
|
|
|
out vec2 fragTexCoord;
|
2015-05-05 00:46:31 +03:00
|
|
|
|
|
|
|
uniform mat4 projectionMatrix;
|
|
|
|
uniform mat4 modelviewMatrix;
|
|
|
|
|
2015-09-02 02:06:55 +03:00
|
|
|
// NOTE: Add here your custom variables
|
2015-05-05 00:46:31 +03:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
fragTexCoord = vertexTexCoord;
|
|
|
|
|
|
|
|
gl_Position = projectionMatrix*modelviewMatrix*vec4(vertexPosition, 1.0);
|
|
|
|
}
|