2020-02-22 05:05:11 +00:00
|
|
|
#version 330 core
|
|
|
|
in vec3 aPosition;
|
|
|
|
in vec2 aTexCoord;
|
|
|
|
in vec4 aColor;
|
|
|
|
uniform mat4 transform;
|
|
|
|
|
|
|
|
out vec2 texCoord;
|
|
|
|
out vec4 color;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
texCoord = aTexCoord;
|
|
|
|
color = aColor;
|
2020-02-23 19:53:47 +00:00
|
|
|
|
2020-02-22 05:05:11 +00:00
|
|
|
gl_Position = vec4(aPosition, 1.0f) * transform;
|
|
|
|
}
|