15 lines
308 B
GLSL
Executable file
15 lines
308 B
GLSL
Executable file
#version 410 core
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
layout (location = 1) in vec4 aCol;
|
|
layout (location = 2) in vec2 aTexCoords;
|
|
layout (location = 3) in vec3 aNormal;
|
|
|
|
uniform mat4 uModel;
|
|
uniform mat4 uView;
|
|
uniform mat4 uProj;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = uProj * uView * uModel * vec4(aPos, 1.0);
|
|
}
|