fixed blocks selection shader
added `u_` prefix that already used in voxel_engine.cpp in draw_world function
This commit is contained in:
parent
931a42c24e
commit
c9b7d7577b
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user