opengl-deferred/assets/shader/screen/screen.vs

13 lines
201 B
Plaintext
Raw Normal View History

2024-10-12 02:03:59 +00:00
#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;
}