#version 430 core
// Purpose: Shared vertex-color prototype vertex shader; transforms colored geometry by an MVP matrix.

layout(location = 0) in vec3 aPos;
layout(location = 1) in vec3 aColor;

uniform mat4 uMVP;

out vec3 vColor;

void main() {
    gl_Position = uMVP * vec4(aPos, 1.0);
    vColor = aColor;
}