ghostty/shaders/text.v.glsl
Mitchell Hashimoto fc28b8c032 busted text rendering
2022-04-04 09:43:46 -07:00

11 lines
190 B
GLSL

#version 330 core
layout (location = 0) in vec4 vertex; // <vec2 pos, vec2 tex>
out vec2 TexCoords;
void main()
{
gl_Position = vec4(vertex.xy, 0.0, 1.0);
TexCoords = vertex.zw;
}