13 lines
209 B
GLSL
13 lines
209 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec4 vertex;
|
|
out vec2 texcoords;
|
|
|
|
uniform mat4 proj;
|
|
uniform mat4 mpv;
|
|
|
|
void main()
|
|
{
|
|
texcoords = vertex.zw;
|
|
gl_Position = mpv * vec4(vertex.xy, 0.0, 1.0);
|
|
}
|