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