11 lines
219 B
GLSL
11 lines
219 B
GLSL
// #version 330 core
|
|
// #extension GL_ARB_separate_shader_objects : enable
|
|
|
|
// layout (location = 0) in vec3 aPos;
|
|
|
|
uniform mat4 u_Proj;
|
|
uniform mat4 u_View;
|
|
|
|
void main() {
|
|
gl_Position = u_Proj * u_View * gl_Vertex;
|
|
} |