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
+13
View File
@@ -0,0 +1,13 @@
export const GRAPHICS_DEFAULTS = {
dynamicGrass: true,
dynamicTrees: true,
dynamicClouds: true,
shadowsEnabled: true,
grassDensity: 1.0,
};
export const GRAPHICS_BOUNDS = {
grassDensity: { min: 0.1, max: 2.0, step: 0.1 },
};
export type GraphicsState = typeof GRAPHICS_DEFAULTS;