old-Testgame/shaders/triangle.v.glsl
2016-08-28 11:31:10 +02:00

4 lines
85 B
GLSL

attribute vec2 coord2d;
void main(void) {
gl_Position = vec4(coord2d, 0.0, 1.0);
}