veloren/assets/voxygen/shaders/skybox-frag.glsl

18 lines
265 B
Plaintext
Raw Normal View History

2019-01-11 20:14:37 +00:00
#version 330 core
#include <globals.glsl>
2019-06-05 15:22:06 +00:00
#include <sky.glsl>
2019-01-11 20:14:37 +00:00
in vec3 f_pos;
layout (std140)
uniform u_locals {
vec4 nul;
2019-01-11 20:14:37 +00:00
};
out vec4 tgt_color;
void main() {
2019-11-18 10:02:05 +00:00
tgt_color = vec4(get_sky_color(normalize(f_pos), time_of_day.x, vec3(-100000), 1.0, true), 1.0);
2019-01-11 20:14:37 +00:00
}