2020-05-17 08:59:15 +00:00
|
|
|
#version 330 core
|
|
|
|
|
2020-05-22 14:16:06 +00:00
|
|
|
layout(location = 0) in vec3 position;
|
|
|
|
layout(location = 1) in vec2 texCoord;
|
|
|
|
|
|
|
|
out vec2 v_texCoord;
|
2020-05-17 08:59:15 +00:00
|
|
|
|
2020-05-23 12:08:20 +00:00
|
|
|
uniform mat4 u_mvp;
|
|
|
|
|
2020-05-17 08:59:15 +00:00
|
|
|
void main()
|
|
|
|
{
|
2020-05-23 12:08:20 +00:00
|
|
|
gl_Position = u_mvp * vec4(position, 1);
|
2020-05-23 09:16:53 +00:00
|
|
|
v_texCoord = texCoord;
|
2020-05-17 08:59:15 +00:00
|
|
|
}
|