grk_5sem_labs/cw 1/shaders/shader_3_1.vert
2023-11-18 02:25:43 +01:00

15 lines
240 B
GLSL

#version 430 core
layout(location = 0) in vec4 vertexPosition;
layout(location = 1) in vec4 vertexColor;
uniform mat4 transformation;
out vec4 color;
void main()
{
color = vertexColor;
gl_Position = transformation * vertexPosition;
}