14 lines
156 B
GLSL
14 lines
156 B
GLSL
#version 450
|
|
|
|
in vec4 pos;
|
|
in vec2 tex;
|
|
|
|
out vec2 tex_coord;
|
|
|
|
uniform mat4 WVP;
|
|
|
|
void main() {
|
|
tex_coord = tex;
|
|
gl_Position = WVP * vec4(pos.xyz, 1.0);
|
|
}
|