neoragnarok/shaders/cubes.vert.glsl
Pavel Flegr cd40b79306 init
2026-05-22 16:17:31 +02:00

12 lines
203 B
GLSL

#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);
}