veloren/assets/voxygen/shaders/include/globals.glsl
2019-09-26 00:15:07 +01:00

14 lines
215 B
GLSL

layout (std140)
uniform u_globals {
mat4 view_mat;
mat4 proj_mat;
vec4 cam_pos;
vec4 focus_pos;
vec4 view_distance;
vec4 time_of_day;
vec4 tick;
vec4 screen_res;
uvec4 light_shadow_count;
uvec4 medium;
};