From e5e147e327a7ad1b4d685e62694728baa6110aa6 Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Fri, 28 Dec 2018 20:53:27 -0500 Subject: [PATCH] glsl/block_vertex.glsl now accepts all vertex attributes --- glsl/block_vertex.glsl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/glsl/block_vertex.glsl b/glsl/block_vertex.glsl index 402c2c3..0fe966d 100644 --- a/glsl/block_vertex.glsl +++ b/glsl/block_vertex.glsl @@ -2,6 +2,9 @@ layout (location = 0) in vec3 vertex_position; +layout (location = 1) in vec3 vertex_texture; + +layout (location = 2) in float vertex_lighting; void main() { gl_Position = vec4(vertex_position, 1.0f);