]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - shaders/gui/image/vertex.glsl
3072c1b84f6cdf9320ffb0ab257325a3b36387cb
[dragonblocks_alpha.git] / shaders / gui / image / vertex.glsl
1 layout(location = 0) in vec2 vertexPosition;
2 layout(location = 1) in vec2 vertexTextureCoords;
3
4 out vec2 fragmentTextureCoords;
5
6 uniform mat4 model;
7 uniform mat4 projection;
8
9 void main()
10 {
11         gl_Position = projection * model * vec4(vertexPosition, 0.0, 1.0);
12         fragmentTextureCoords = vertexTextureCoords;
13 }