veloren/assets/voxygen/shaders/skybox-frag.glsl
2019-11-19 19:09:22 +00:00

19 lines
289 B
GLSL

#version 330 core
#include <globals.glsl>
#include <sky.glsl>
in vec3 f_pos;
layout (std140)
uniform u_locals {
vec4 nul;
};
out vec4 tgt_color;
void main() {
vec4 _clouds;
tgt_color = vec4(get_sky_color(normalize(f_pos), time_of_day.x, vec3(-100000), 1.0, true, _clouds), 1.0);
}