Files
oak-editor/effects/internal/pipeline.vert
T
2019-03-17 15:53:54 +11:00

16 lines
275 B
GLSL

#ifdef GL_ES
precision mediump int;
precision mediump float;
#endif
uniform mat4 mvp_matrix;
attribute vec4 a_position;
attribute vec2 a_texcoord;
varying vec2 v_texcoord;
void main() {
gl_Position = mvp_matrix * a_position;
v_texcoord = a_texcoord;
};