base code

This commit is contained in:
Lorenzo Torres 2025-03-12 19:56:19 +01:00
parent fc39b27715
commit 4f45899a3c
197 changed files with 151568 additions and 2 deletions

View file

@ -0,0 +1,7 @@
#version 450
layout(location = 0) out vec4 outColor;
void main() {
outColor = vec4(1.0, 1.0, 1.0, 1.0);
}

View file

@ -0,0 +1,13 @@
#version 450
layout(location = 0) in vec3 vertPos;
layout(binding = 0) uniform UniformObject {
mat4 proj;
mat4 view;
mat4 model;
} ubo;
void main() {
gl_Position = ubo.view * ubo.proj * vec4(vertPos, 1.0);
}