fixed blocks selection shader

added `u_` prefix that already used in voxel_engine.cpp in draw_world function
This commit is contained in:
MihailRis 2021-08-20 21:23:28 +03:00 committed by GitHub
parent 931a42c24e
commit c9b7d7577b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ layout (location = 1) in vec4 a_color;
out vec4 v_color;
uniform mat4 projview;
uniform mat4 u_projview;
void main(){
v_color = a_color;
gl_Position = projview * vec4(a_position, 1.0);
gl_Position = u_projview * vec4(a_position, 1.0);
}