mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
18 lines
245 B
GLSL
18 lines
245 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() {
|
|
tgt_color = vec4(get_sky_color(normalize(f_pos), time_of_day.x, true), 1.0);
|
|
}
|