veloren/voxygen/shaders/include/globals.glsl
2019-07-21 19:22:49 +01:00

13 lines
193 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_count;
};