]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - shaders/hud/font/vertex.glsl
Simplify database handling
[dragonblocks_alpha.git] / shaders / hud / font / vertex.glsl
1 #version 460 core
2
3 layout(location = 0) in vec2 vertexPosition;
4 layout(location = 1) in vec2 vertexTextureCoords;
5
6 out vec2 fragmentTextureCoords;
7
8 uniform mat4 projection;
9 uniform mat4 model;
10
11 void main()
12 {
13     gl_Position = projection * model * vec4(vertexPosition, 0.0, 1.0);
14     fragmentTextureCoords = vertexTextureCoords;
15 }