Created rudimentary board

This commit is contained in:
Lauchmelder 2022-01-14 22:11:42 +01:00
parent 63c7a1bb2d
commit 79736fc3bc
14 changed files with 164 additions and 37 deletions

View file

@ -5,11 +5,12 @@ layout (location = 1) in vec2 UV;
out vec2 uvCoord;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main()
{
uvCoord = UV;
gl_Position = projection * view * vec4(position, 0.0f, 1.0f);
gl_Position = projection * view * model * vec4(position, 0.0f, 1.0f);
}