fbo functioning

This commit is contained in:
2017-07-19 16:04:43 -05:00
parent 5f1958e62d
commit 942cd9f102
8 changed files with 99 additions and 80 deletions

14
android/assets/shaders/glow.vsh Executable file
View File

@@ -0,0 +1,14 @@
attribute vec4 a_position;
attribute vec4 a_color;
attribute vec2 a_texCoord0;
uniform mat4 u_projTrans;
varying vec4 vColor;
varying vec2 vTexCoord;
void main() {
vColor = a_color;
vTexCoord = a_texCoord0;
gl_Position = u_projTrans * a_position;
}