update sky lights constants

This commit is contained in:
MihailRis 2025-09-20 00:17:47 +03:00
parent 1a04cde800
commit b8646580cc
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
// lighting
#define SKY_LIGHT_MUL 2.9
#define SKY_LIGHT_TINT vec3(0.9, 0.8, 1.0)
#define SKY_LIGHT_TINT (vec3(1.0, 0.95, 0.9) * 2.0)
#define MIN_SKY_LIGHT vec3(0.2, 0.25, 0.33)
// fog

View File

@ -4,7 +4,7 @@
#include <constants>
vec3 pick_sky_color(samplerCube cubemap) {
vec3 skyLightColor = texture(cubemap, vec3(0.4f, 0.0f, 0.4f)).rgb;
vec3 skyLightColor = texture(cubemap, vec3(0.8f, 0.01f, 0.4f)).rgb;
skyLightColor *= SKY_LIGHT_TINT;
skyLightColor = min(vec3(1.0f), skyLightColor * SKY_LIGHT_MUL);
skyLightColor = max(MIN_SKY_LIGHT, skyLightColor);