aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders/Basic.vert.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/Basic.vert.glsl')
-rw-r--r--assets/shaders/Basic.vert.glsl3
1 files changed, 0 insertions, 3 deletions
diff --git a/assets/shaders/Basic.vert.glsl b/assets/shaders/Basic.vert.glsl
index 40b97ad7..0d5b8d63 100644
--- a/assets/shaders/Basic.vert.glsl
+++ b/assets/shaders/Basic.vert.glsl
@@ -14,8 +14,6 @@ precision highp float;
14attribute vec3 a_pos; 14attribute vec3 a_pos;
15attribute vec2 texcoord; 15attribute vec2 texcoord;
16 16
17varying vec4 v_color;
18
19 17
20// matrix uniforms 18// matrix uniforms
21uniform mat4 u_mvMatrix; 19uniform mat4 u_mvMatrix;
@@ -24,6 +22,5 @@ uniform mat4 u_worldMatrix;
24 22
25void main(void) 23void main(void)
26{ 24{
27 v_color = vec4(texcoord.x, texcoord.y, 0, 1);
28 gl_Position = u_projMatrix * u_mvMatrix * vec4(a_pos,1.0) ; 25 gl_Position = u_projMatrix * u_mvMatrix * vec4(a_pos,1.0) ;
29} \ No newline at end of file 26} \ No newline at end of file