game works as before without a few things

This commit is contained in:
2023-12-11 23:00:31 +02:00
committed by Illusion
parent 77ec3991c7
commit 91fd72db36
12 changed files with 136 additions and 332 deletions
-10
View File
@@ -1,10 +0,0 @@
#version 330 core
out vec4 FragColor;
in vec2 texCoords;
uniform sampler2D aTexture;
void main() {
FragColor = texture(aTexture, texCoords);
}
-11
View File
@@ -1,11 +0,0 @@
#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoords;
out vec2 texCoords;
uniform mat4 transform;
void main() {
gl_Position = transform * vec4(aPos, 1.0f);
texCoords = aTexCoords;
}