engineer-thesis-WUT/Engine/engine/Shaders/vertexShaderColor.vs

8 lines
165 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
out vec3 vertexColor;
void main()
{
gl_Position = vec4(aPos, 1.0);
vertexColor = vec3(0.5, 0.0, 0.0);
}