opengl-deferred/assets/shader/screen/screen.vs
2024-10-12 04:03:59 +02:00

13 lines
201 B
GLSL

#version 460 core
layout (location = 0) in vec3 _pos;
layout (location = 1) in vec2 _tex;
out vec3 pos;
out vec2 tex;
void main() {
gl_Position = vec4(_pos.xy, 0, 1);
pos = _pos;
tex = _tex;
}