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

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

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

#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.52
// Obsidian shadows and copper fire create a deep, high-contrast underworld
// rather than Aurora's uniform reddish-brown wash.
#define LIGHT_SUNSET_COLOR vec3(0.175, 0.072, 0.040)
#define LIGHT_DAY_COLOR vec3(0.175, 0.072, 0.040)
#define LIGHT_NIGHT_COLOR vec3(0.175, 0.072, 0.040)

#define ZENITH_SUNSET_COLOR vec3(0.032, 0.012, 0.030)
#define ZENITH_DAY_COLOR vec3(0.032, 0.012, 0.030)
#define ZENITH_NIGHT_COLOR vec3(0.032, 0.012, 0.030)

#define HORIZON_SUNSET_COLOR vec3(0.125, 0.040, 0.028)
#define HORIZON_DAY_COLOR vec3(0.125, 0.040, 0.028)
#define HORIZON_NIGHT_COLOR vec3(0.125, 0.040, 0.028)

#define WATER_COLOR vec3(0.012, 0.052, 0.072)

#include "/lib/day_blend.glsl"

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

#include "/lib/color_conversion.glsl"
