summaryrefslogtreecommitdiff
path: root/demo.vs
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-05-23 12:36:13 -0500
committersanine-a <sanine.not@pm.me>2020-05-23 12:36:13 -0500
commit86bd56a8983b664e145ddd3b34a2c2fa8bdf21a9 (patch)
tree04b7571e2fc6ef3d7c91ac1fe6c28c4290fd8fff /demo.vs
parent018b7ce3f7d94af92fa4fab32ffdde451da7fcb9 (diff)
add normals to primitives
Diffstat (limited to 'demo.vs')
-rw-r--r--demo.vs3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo.vs b/demo.vs
index 33a6956..37fe02f 100644
--- a/demo.vs
+++ b/demo.vs
@@ -1,6 +1,7 @@
#version 330 core
layout (location = 0) in vec3 position;
-layout (location = 1) in vec2 texCoord;
+layout (location = 1) in vec3 normal;
+layout (location = 2) in vec2 texCoord;
out vec2 texture_coordinate;