Dengine/data/shaders/default.vert.glsl

10 lines
180 B
Plaintext
Raw Normal View History

2016-06-03 05:07:40 +00:00
#version 330 core
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()
{
gl_Position = projection * vec4(data.xy, 0.0f, 1.0f);
2016-06-03 05:07:40 +00:00
}