Files
cudoku/shaders/font.vert
T

12 lines
228 B
GLSL
Raw Normal View History

2023-09-12 03:21:18 +02:00
#version 330 core
layout (location = 0) in vec4 vertex;
out vec2 TexCoords;
uniform mat4 projection;
uniform mat4 model;
2023-09-12 03:21:18 +02:00
void main() {
gl_Position = projection * model * vec4(vertex.xy, 0.0, 1.0);
2023-09-12 03:21:18 +02:00
TexCoords = vertex.zw;
}