12 lines
168 B
GLSL
12 lines
168 B
GLSL
// Passthrough shader for drawQuad()
|
|
#version 330
|
|
|
|
in vec3 Position;
|
|
in vec2 Texcoord;
|
|
out vec2 uv;
|
|
|
|
void main() {
|
|
uv = Texcoord;
|
|
gl_Position = vec4(Position, 1.);
|
|
}
|