From af951df8f9088dfed060c4d2788c042907e8c555 Mon Sep 17 00:00:00 2001 From: Xonk Date: Tue, 20 Jun 2023 22:14:13 -0400 Subject: [PATCH] tiny tweak again --- shaders/lib/diffuse_lighting.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lib/diffuse_lighting.glsl b/shaders/lib/diffuse_lighting.glsl index f7a9a79..99bbfbf 100644 --- a/shaders/lib/diffuse_lighting.glsl +++ b/shaders/lib/diffuse_lighting.glsl @@ -21,7 +21,7 @@ vec3 DoAmbientLighting (vec3 SkyColor, vec3 TorchColor, vec2 Lightmap, float sky float skyLM = 10.0 - ( 1.0 / (pow(exp(-0.5*inversesqrt(Lightmap.y)),5.0)+0.1)); - skyLM = pow(skyLM/4,10) + pow(Lightmap.y,1.5)*0.5; + skyLM = pow(skyLM/4,10) + pow(Lightmap.y,2)*0.5; SkyColor = SkyColor * ambient_brightness; vec3 SkyLight = max((SkyColor * skyLM * 0.75) * 8./150./3., vec3(0.2,0.4,1.0) * (MIN_LIGHT_AMOUNT*0.01));