initial version

This commit is contained in:
Florian Stecker
2025-12-07 19:04:34 -05:00
commit 04a707b4ed
29 changed files with 1021 additions and 0 deletions

14
vertex3d.glsl Normal file
View File

@@ -0,0 +1,14 @@
#version 130
in vec3 pos;
in vec3 vertexNormal;
out vec3 normal;
uniform mat4 mvp;
uniform mat3 normal_transform;
void main() {
gl_Position = mvp * vec4(pos, 1);
normal = normalize(normal_transform * vertexNormal);
}