Project as is

This commit is contained in:
Gnarwhal 2024-08-07 04:28:53 +00:00
commit 80c9e2d168
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
55 changed files with 1573 additions and 0 deletions

9
res/shaders/default/default.fs Executable file
View file

@ -0,0 +1,9 @@
#version 450
uniform sampler2D sampler;
in vec2 textureCoords;
void main() {
gl_FragColor = texture2D(sampler, textureCoords);
}

13
res/shaders/default/default.vs Executable file
View file

@ -0,0 +1,13 @@
#version 450
uniform mat4 projection;
in vec3 vertices;
in vec2 texCoords;
out vec2 textureCoords;
void main() {
textureCoords = texCoords;
gl_Position = projection * vec4(vertices, 1);
}