yupplemayham/build0.0.0.1/x64-debug/YuppleMayham/shaders/GL_player.vert
2024-06-21 16:59:06 -04:00

15 lines
No EOL
230 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexPos;
out vec3 pos;
out vec2 texPos;
uniform mat4 MVP;
void main()
{
pos = aPos;
texPos = aTexPos;
gl_Position = MVP * vec4(aPos, 1.0);
}