engineer-thesis-WUT/Engine/engine/shaders/vertexWithColor.vs

9 lines
193 B
Plaintext
Raw Normal View History

2022-09-18 18:10:03 +02:00
#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec3 aColor;
out vec3 vertexColor;
void main()
{
gl_Position = vec4(aPos, 1.0);
vertexColor = aColor;
}