diff options
author | sanine-a <sanine.not@pm.me> | 2020-05-23 12:36:13 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-05-23 12:36:13 -0500 |
commit | 86bd56a8983b664e145ddd3b34a2c2fa8bdf21a9 (patch) | |
tree | 04b7571e2fc6ef3d7c91ac1fe6c28c4290fd8fff /demo.vs | |
parent | 018b7ce3f7d94af92fa4fab32ffdde451da7fcb9 (diff) |
add normals to primitives
Diffstat (limited to 'demo.vs')
-rw-r--r-- | demo.vs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |