glsl/block_vertex.glsl now accepts all vertex attributes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user