11 lines
244 B
GLSL
11 lines
244 B
GLSL
#version 430 core
|
|
layout (location = 0) in vec3 position;
|
|
layout (location = 1) in vec4 col;
|
|
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
|
|
out vec4 vCol;
|
|
void main()
|
|
{
|
|
gl_Position = theMat * vec4(position,1);
|
|
vCol = col;
|
|
}
|