feat(world): add day/night cycle with server tick system

This commit is contained in:
2026-06-16 16:17:47 +08:00
parent f43ef64691
commit a4f92e3659
9 changed files with 175 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ void main(void) {
discard;
}
vec3 lightDir = normalize(sunlightDir);
vec3 lightDir = normalize(-sunlightDir);
vec3 ambient = ambientStrength * sunlightColor;