This commit is contained in:
Pavel Flegr 2026-05-22 16:17:31 +02:00
commit cd40b79306
9 changed files with 772 additions and 0 deletions

12
shaders/cubes.vert.glsl Normal file
View file

@ -0,0 +1,12 @@
#version 450
layout(location = 0) in vec3 a_pos;
layout(set = 1, binding = 0) uniform VertexUniforms {
mat4 u_mvp;
vec4 u_color;
};
void main() {
gl_Position = u_mvp * vec4(a_pos, 1.0);
}