2015-09-02 02:06:55 +03:00
|
|
|
#version 110
|
2015-05-05 00:46:31 +03:00
|
|
|
|
|
|
|
attribute vec3 vertexPosition;
|
|
|
|
attribute vec2 vertexTexCoord;
|
2015-09-02 02:06:55 +03:00
|
|
|
attribute vec4 vertexColor;
|
2015-05-05 00:46:31 +03:00
|
|
|
|
2016-01-13 19:13:28 +03:00
|
|
|
uniform mat4 mvpMatrix;
|
2015-05-05 00:46:31 +03:00
|
|
|
|
|
|
|
varying vec2 fragTexCoord;
|
2016-01-13 19:13:28 +03:00
|
|
|
varying vec4 fragTintColor;
|
2015-05-05 00:46:31 +03:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
fragTexCoord = vertexTexCoord;
|
2016-01-13 19:13:28 +03:00
|
|
|
fragTintColor = vertexColor;
|
2015-09-02 02:06:55 +03:00
|
|
|
|
2016-01-13 19:13:28 +03:00
|
|
|
gl_Position = mvpMatrix*vec4(vertexPosition, 1.0);
|
2015-05-05 00:46:31 +03:00
|
|
|
}
|