12 lines
No EOL
244 B
GLSL
12 lines
No EOL
244 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec4 aScreenCoords;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
out vec2 texCoords;
|
|
|
|
uniform mat4 orthoMatrix;
|
|
|
|
void main() {
|
|
gl_Position = orthoMatrix * aScreenCoords;
|
|
texCoords = aTexCoords;
|
|
} |