background shader now functioning

This commit is contained in:
2017-06-18 01:25:08 -05:00
parent fe6bd86632
commit 627a631f41
3 changed files with 90 additions and 78 deletions

View File

@@ -3,15 +3,10 @@ attribute vec4 a_color;
attribute vec2 a_texCoord0;
uniform mat4 u_projTrans;
uniform float time;
varying vec4 vColor;
varying vec2 vTexCoord;
varying float vTime;
void main() {
vColor = a_color;
vTexCoord = a_texCoord0;
vTime = time;
gl_Position = u_projTrans * a_position;
}