Refactor in C++
This commit is contained in:
parent
8c4b7bff18
commit
abdd19f5e5
445 changed files with 68766 additions and 36566 deletions
11
shaders/text.vert
Normal file
11
shaders/text.vert
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec4 vertex; // <vec2 pos, vec2 tex>
|
||||
out vec2 texuv;
|
||||
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * vec4(vertex.xy, 0.0, 1.0);
|
||||
texuv = vertex.zw;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue