clean main menu start while starting on mesh creation

This commit is contained in:
2017-09-19 00:32:53 -05:00
parent 33c9eeef2f
commit bf2e68e0f7
39 changed files with 270 additions and 189 deletions

10
android/assets/shaders/mesh.fsh Executable file
View File

@@ -0,0 +1,10 @@
#ifdef GL_ES
precision mediump float;
#endif
//input from vertex shader
varying vec4 vColor;
void main() {
gl_FragColor = vColor;
}

13
android/assets/shaders/mesh.vsh Executable file
View File

@@ -0,0 +1,13 @@
attribute vec2 a_position;
attribute vec4 a_color;
//our camera matrix
uniform mat4 u_projTrans;
//send the color out to the fragment shader
varying vec4 vColor;
void main() {
vColor = a_color;
gl_Position = u_projTrans * vec4(a_position.xy, 0.0, 1.0);
}