/* Aurora Astral - color_utils.glsl
Usefull data for color manipulation.

in2bubble - Based on MakeUp by KDXavier - GNU Lesser General Public License v3.0
*/

uniform vec3 skyColor;
uniform float day_moment;
uniform float day_mixer;
uniform float night_mixer;

#define MID_SUNSET_COLOR HORIZON_SUNSET_COLOR
#define MID_DAY_COLOR HORIZON_DAY_COLOR
#define MID_NIGHT_COLOR HORIZON_NIGHT_COLOR

#define OMNI_TINT 0.40
// Balanced lavender illumination: enough red/green to preserve End-stone and
// obsidian detail, with only a restrained blue bias from the cosmic sky.
#define LIGHT_SUNSET_COLOR vec3(0.185, 0.170, 0.205)
#define LIGHT_DAY_COLOR LIGHT_SUNSET_COLOR
#define LIGHT_NIGHT_COLOR LIGHT_SUNSET_COLOR

// Dark amethyst atmosphere with a visible floor; never pure black or cyan.
#define ZENITH_SUNSET_COLOR vec3(0.020, 0.014, 0.044)
#define ZENITH_DAY_COLOR vec3(0.020, 0.014, 0.044)
#define ZENITH_NIGHT_COLOR ZENITH_SUNSET_COLOR

#define HORIZON_SUNSET_COLOR vec3(0.050, 0.036, 0.082)
#define HORIZON_DAY_COLOR HORIZON_SUNSET_COLOR
#define HORIZON_NIGHT_COLOR HORIZON_SUNSET_COLOR

#define WATER_COLOR vec3(0.025, 0.090, 0.155)

#include "/lib/day_blend.glsl"

// Fog parameter per hour
#define FOG_DAY 1.0
#define FOG_SUNSET 1.0
#define FOG_NIGHT 1.0
#define FOG_DENSITY 1.22

#include "/lib/color_conversion.glsl"
