14 lines
269 B
GLSL
14 lines
269 B
GLSL
#version 410 core
|
|
|
|
layout(location=0) in vec3 position;
|
|
layout(location=1) in vec4 vertex_colors;
|
|
uniform mat4 transform;
|
|
noperspective out vec4 fragment_colors;
|
|
|
|
|
|
void main()
|
|
{
|
|
gl_Position = transform * vec4(position, 1.0f);
|
|
fragment_colors = vertex_colors;
|
|
}
|