sockscape/resources/client/shaders/test.vert
2018-08-27 16:45:24 -05:00

12 lines
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;
}