glcanvas/shader/my.vert

11 lines
217 B
GLSL

precision mediump float;
attribute vec4 a_position;
uniform mat4 u_projectionMtx;
uniform mat4 u_modelViewMtx;
uniform float u_clock;
void main() {
gl_Position = u_projectionMtx * u_modelViewMtx * a_position;
}