From 2219232956cf4217743713e5d6d6b7994ffa6aa6 Mon Sep 17 00:00:00 2001 From: Merlin1809 Date: Tue, 9 Sep 2025 02:11:22 +0200 Subject: [PATCH] tiny tweak to last fix --- shaders/shaders.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/shaders.properties b/shaders/shaders.properties index 4e703c9..73ce8b7 100644 --- a/shaders/shaders.properties +++ b/shaders/shaders.properties @@ -851,7 +851,7 @@ variable.float.WsmoothMoonZ = smooth(wMoonZ, smoothTimeFade, smoothTimeFade) uniform.vec3.unsigned_WmoonVecSmooth = vec3(WsmoothMoonX, WsmoothMoonY, WsmoothMoonZ) -uniform.float.worldTimeSmooth = smooth(worldTime+worldDay*24000, smoothTimeFade, smoothTimeFade)-worldDay*24000 +uniform.float.worldTimeSmooth = smooth(worldTime+fmod(worldDay, 100)*24000, smoothTimeFade, smoothTimeFade)-fmod(worldDay, 100)*24000 # # variable.float.shSunX = (shadowModelView.0.0 * wSunX + shadowModelView.1.0 * wSunY + shadowModelView.2.0 * wSunZ)