#version 330 core // Input vertex data, different for all executions of this shader. layout(location = 0) in vec4 position; layout(location = 1) in vec4 normal; layout(location = 2) in vec3 color; out vec3 colorF; void main() { colorF.x = color.x; colorF.y = color.y; colorF.z = color.z; gl_Position = position; }