2016-06-03 05:07:40 +00:00
|
|
|
#version 330 core
|
2016-11-11 14:17:30 +00:00
|
|
|
layout(location = 0) in vec4 data; // (vec2)pos, (vec2)texCoord
|
2016-06-03 05:07:40 +00:00
|
|
|
|
2016-06-03 07:05:28 +00:00
|
|
|
uniform mat4 projection;
|
2016-06-03 05:07:40 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2016-11-11 14:17:30 +00:00
|
|
|
gl_Position = projection * vec4(data.xy, 0.0f, 1.0f);
|
2016-06-03 05:07:40 +00:00
|
|
|
}
|