This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
InfinitShoot/shader/shader.vert

14 lines
228 B
GLSL

#version 330 core
layout (location = 0) in vec2 aPos;
layout (location = 1) in vec2 aTexcoord;
out vec2 Texcoord;
uniform mat4 Project;
void main() {
Texcoord = aTexcoord;
gl_Position = Project * vec4(aPos, 0, 1);
}