KoiKoi/res/card.vs

15 lines
251 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;
uniform mat4 view;
uniform mat4 projection;
void main()
{
uvCoord = UV;
gl_Position = projection * view * vec4(position, 0.0f, 1.0f);
}