glsl/block_vertex.glsl now accepts a projection and a view matrix

This commit is contained in:
CobaltXII
2018-12-28 20:53:53 -05:00
parent e5e147e327
commit f51deb8db9

View File

@@ -5,6 +5,11 @@ layout (location = 0) in vec3 vertex_position;
layout (location = 1) in vec3 vertex_texture;
layout (location = 2) in float vertex_lighting;
uniform mat4 matrix_projection;
uniform mat4 matrix_view;
void main()
{
gl_Position = vec4(vertex_position, 1.0f);