2024-11-18 10:12:57 -05:00

12 lines
249 B
GLSL
Executable File

#version 330
layout(location = 0) in vec2 aPosition;
layout(location = 1) in vec2 aTexCoord;
out vec2 texCoord;
uniform mat4 windowMatrix;
void main(void)
{
texCoord = aTexCoord;
gl_Position = vec4(aPosition, 0.0, 1.0) * windowMatrix;
}