stk-code_catmod/data/shaders/coloredquad.vert
Vincent Lejeune fd968a0acf OGL32CTX: Factorize UI shaders
This should fix UI disappearing after resolution change.
2014-01-28 21:26:16 +01:00

10 lines
152 B
GLSL

#version 130
uniform vec2 center;
uniform vec2 size;
in vec2 position;
void main()
{
gl_Position = vec4(position * size + center, 0., 1.);
}