Draw sprite to GUI

This commit is contained in:
2022-12-24 19:18:06 +00:00
parent 06b8bba27f
commit 147cf1b05d
12 changed files with 99 additions and 61 deletions

View File

@@ -2,7 +2,10 @@
layout (location = 0) in vec4 vertex; // <vec2 pos, vec2 tex>
out vec2 TexCoords;
uniform mat4 projection;
layout (std140) uniform Projection
{
mat4 projection;
};
void main()
{