11 lines
165 B
GLSL
11 lines
165 B
GLSL
#version 330 core
|
|
|
|
layout(location = 0) in vec3 a_position;
|
|
|
|
uniform mat4 u_modelMatrix;
|
|
|
|
void main() {
|
|
|
|
gl_Position = u_modelMatrix * vec4(a_position, 1.0f);
|
|
}
|