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

14 lines
202 B
Plaintext
Raw Permalink Normal View History

2024-10-18 14:12:01 +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;
}