ludum_dare_40/res/shaders/s2x/vert.gls
2024-08-07 04:33:54 +00:00

15 lines
No EOL
261 B
Text

#version 330 core
uniform mat4 mvp;
uniform vec2 character;
layout (location = 0) in vec3 vertices;
layout (location = 1) in vec2 iTexCoords;
out vec2 texCoords;
void main() {
texCoords = iTexCoords + character;
gl_Position = mvp * vec4(vertices, 1.0);
}