minor progress on background shader

This commit is contained in:
2017-06-14 00:16:24 -05:00
parent 7a0a7c9b14
commit fe6bd86632
4 changed files with 7 additions and 16 deletions

View File

@@ -4,17 +4,14 @@ attribute vec2 a_texCoord0;
uniform mat4 u_projTrans;
uniform float time;
uniform vec2 resolution;
varying vec4 vColor;
varying vec2 vTexCoord;
varying float vTime;
varying vec2 vResolution;
void main() {
vColor = a_color;
vTexCoord = a_texCoord0;
vTime = time;
vResolution = resolution;
gl_Position = u_projTrans * a_position;
}