summary refs log tree commit diff
path: root/res/shaders/triangle.vs
diff options
context:
space:
mode:
authoriurii plugatarov <[email protected]>2024-08-17 18:18:42 +0200
committeriurii plugatarov <[email protected]>2024-08-17 18:18:42 +0200
commit7d307c75d3cdf724658b577a9e1c8c8e8d98fc42 (patch)
treed164cbf6de494bd8ccce280a5ef963e4f6630fc0 /res/shaders/triangle.vs
parent20f1e487c8cbb8a23b2759d1934fffc5b6b38156 (diff)
downloadfunhalla-7d307c75d3cdf724658b577a9e1c8c8e8d98fc42.tar.gz
cube
Diffstat (limited to '')
-rw-r--r--res/shaders/triangle.vs5
1 files changed, 1 insertions, 4 deletions
diff --git a/res/shaders/triangle.vs b/res/shaders/triangle.vs
index c607a81..4c7fab8 100644
--- a/res/shaders/triangle.vs
+++ b/res/shaders/triangle.vs
@@ -1,9 +1,7 @@
 #version 330 core
 layout (location = 0) in vec3 a_pos;
-layout (location = 1) in vec3 a_color;
-layout (location = 2) in vec2 a_tex_coord;
+layout (location = 1) in vec2 a_tex_coord;
   
-out vec3 our_color;
 out vec2 TexCoord;
 
 uniform mat4 model;
@@ -13,6 +11,5 @@ uniform mat4 projection;
 void main()
 {
     gl_Position = projection * view * model * vec4(a_pos, 1.0);
-    our_color = a_color;
     TexCoord = vec2(a_tex_coord.x, a_tex_coord.y);
 }