add: world config (wind, graphics, terrain, fog)

This commit is contained in:
Tom Boullay
2026-05-13 15:00:13 +02:00
parent 23cab2da5e
commit 1d3aa1c9f2
8 changed files with 323 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
import { TERRAIN_COLORS } from "@/data/world/terrainConfig";
export const FOG_CONFIG = {
enabled: true,
color: "#c8dbbe",
near: 50,
far: 70,
};
export const CHUNK_CONFIG = {
enabled: true,
chunkSize: 40,
loadRadius: 70,
unloadRadius: 80,
updateInterval: 500,
};
export const GROUND_PLANE_COLOR = TERRAIN_COLORS.grass1.hex;