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

14 lines
202 B
Plaintext
Raw Permalink 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;
2024-10-15 14:52:21 +00:00
}