layout (location=0) in vec2 a_co; uniform vec4 uOffset; void main() { vec2 vpos = a_co * uOffset.zw + uOffset.xy; gl_Position = vec4(vpos,0.0,1.0); }