This commit is contained in:
milek7
2018-08-02 20:38:39 +02:00
parent f6f7fee8d8
commit e603d2fefe
22 changed files with 1007 additions and 613 deletions

12
shaders/map.vert Normal file
View File

@@ -0,0 +1,12 @@
#version 330
layout(location = 0) in vec3 v_vert;
#include <common>
void main()
{
vec4 clip_pos = projection * vec4(v_vert, 1.0f);
gl_Position = vec4(clip_pos.xz, 0.5, 1.0);
}