aboutsummaryrefslogtreecommitdiff
path: root/shaders/vertex.vsh
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2022-09-11 13:54:51 -0500
committerjvech <jmvalenciae@unal.edu.co>2022-09-11 13:54:51 -0500
commit86c7bdee944ce2f60d63124e9ddb76198ddbc676 (patch)
treeb15a18f9439f11a92de94bf3be16c736a8c927ed /shaders/vertex.vsh
parentab2160bdd347f4cd827835f1687437d25fae94c6 (diff)
learn: 14. Materials learnopengl book
Diffstat (limited to 'shaders/vertex.vsh')
-rw-r--r--shaders/vertex.vsh13
1 files changed, 0 insertions, 13 deletions
diff --git a/shaders/vertex.vsh b/shaders/vertex.vsh
deleted file mode 100644
index 987dc3b..0000000
--- a/shaders/vertex.vsh
+++ /dev/null
@@ -1,13 +0,0 @@
-# version 330 core
-
-layout (location = 0) in vec3 aPos;
-layout (location = 1) in vec3 aColor;
-uniform mat4 model, view, proj;
-
-out vec3 vertexColor;
-
-void main()
-{
- gl_Position = proj * view * model * vec4(aPos, 1.0f);
- vertexColor = aColor;
-}
Feel free to download, copy and edit any repo