Entire project

This commit is contained in:
Gnarwhal 2024-08-07 04:58:40 +00:00
commit 292619749a
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
115 changed files with 2484 additions and 0 deletions

11
res/shaders/s2t/frag.gls Normal file
View file

@ -0,0 +1,11 @@
#version 330 core
uniform sampler2D sampler;
in vec2 texCoords;
out vec4 color;
void main() {
color = texture(sampler, texCoords);
}

13
res/shaders/s2t/vert.gls Normal file
View file

@ -0,0 +1,13 @@
#version 330 core
uniform mat4 mvp;
layout (location = 0) in vec3 vertices;
layout (location = 1) in vec2 itexCoords;
out vec2 texCoords;
void main() {
texCoords = itexCoords;
gl_Position = mvp * vec4(vertices, 1);
}