7 lines
170 B
GLSL
7 lines
170 B
GLSL
#version 450 core
|
|
layout (location = 0) in vec3 pos;
|
|
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
|
|
void main() {
|
|
gl_Position = theMat * vec4(pos,1);
|
|
}
|