This commit is contained in:
MihailRis 2026-10-06 22:18:07 +03:00
parent 2f87bbf608
commit c0c60430d6
4 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
#include <constants>
vec3 pick_sky_color(samplerCube cubemap, float dayTime, vec3 minSkyLight) {
float elevation = sin(dayTime * PI2) * 0.2;
float elevation = -sin(dayTime * PI2) * 0.1;
vec3 skyLightColor = texture(cubemap, vec3(0.0f, elevation, -0.4f)).rgb;
skyLightColor *= SKY_LIGHT_TINT;
skyLightColor = min(vec3(1.0f), skyLightColor * SKY_LIGHT_MUL);