GRK/cw 2/shaders/shader_2_1.vert
secret_dude a7bd7ecb75 master
2022-01-12 16:07:16 +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;
}