diff options
author | jvech <jmvalenciae@unal.edu.co> | 2022-09-11 13:54:51 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2022-09-11 13:54:51 -0500 |
commit | 86c7bdee944ce2f60d63124e9ddb76198ddbc676 (patch) | |
tree | b15a18f9439f11a92de94bf3be16c736a8c927ed /shaders/vertex.vsh | |
parent | ab2160bdd347f4cd827835f1687437d25fae94c6 (diff) |
learn: 14. Materials learnopengl book
Diffstat (limited to 'shaders/vertex.vsh')
-rw-r--r-- | shaders/vertex.vsh | 13 |
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; -} |