feat: stream vegetation chunks near player

This commit is contained in:
Tom Boullay
2026-05-24 23:51:40 +02:00
parent 1f6335092a
commit e4857135b1
4 changed files with 210 additions and 51 deletions
+6 -6
View File
@@ -3,16 +3,16 @@ import { TERRAIN_COLORS } from "@/data/world/terrainConfig";
export const FOG_CONFIG = {
enabled: true,
color: "#c8dbbe",
near: 50,
far: 70,
near: 22,
far: 38,
};
export const CHUNK_CONFIG = {
enabled: true,
chunkSize: 40,
loadRadius: 70,
unloadRadius: 80,
updateInterval: 500,
chunkSize: 30,
loadRadius: 30,
unloadRadius: 40,
updateInterval: 350,
};
export const GROUND_PLANE_COLOR = TERRAIN_COLORS.grass1.hex;