12 lines
249 B
GLSL
Executable File
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;
|
|
} |