ayuncraft-1.5/lwjgl-rundir/resources/glsl/pvert.glsl

14 lines
195 B
Plaintext
Raw Normal View History

2020-09-01 17:19:08 -07:00
#line 0
precision lowp int;
precision lowp sampler2D;
precision lowp float;
in vec2 a_pos;
out vec2 pos;
void main(){
gl_Position = vec4((pos = a_pos) * 2.0 - 1.0, 0.0, 1.0);
}