sockscape/resources/client/shaders/font/font.vert

13 lines
270 B
GLSL
Raw Normal View History

2018-08-29 21:33:28 +00:00
#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;
}