Files
cudoku/shaders/ui.vert
T

12 lines
232 B
GLSL
Raw Normal View History

#version 330 core
2023-11-21 06:45:54 +02:00
layout (location = 0) in vec4 vertex;
2023-11-21 06:45:54 +02:00
out vec2 v_TexCoords;
uniform mat4 projection;
2023-11-21 06:45:54 +02:00
uniform mat4 model;
void main() {
2023-11-21 06:45:54 +02:00
gl_Position = projection * model * vec4(vertex.xy, 0.0, 1.0);
v_TexCoords = vertex.zw;
}