KoiKoi/res/card.vs

16 lines
279 B
Plaintext
Raw Normal View History

2022-01-13 22:24:39 +00:00
#version 440 core
layout (location = 0) in vec2 position;
layout (location = 1) in vec2 UV;
out vec2 uvCoord;
2022-01-14 21:11:42 +00:00
uniform mat4 model;
2022-01-13 22:24:39 +00:00
uniform mat4 view;
uniform mat4 projection;
void main()
{
uvCoord = UV;
2022-01-14 21:11:42 +00:00
gl_Position = projection * view * model * vec4(position, 0.0f, 1.0f);
2022-01-13 22:24:39 +00:00
}