fix(environment): tune grass and terrain grounding

This commit is contained in:
Tom Boullay
2026-05-28 00:59:36 +02:00
parent 3881e38a6d
commit ea23b4bb46
4 changed files with 55 additions and 10 deletions
+9 -5
View File
@@ -1,18 +1,22 @@
export const GRASS_CONFIG = {
enabled: true,
patchSize: 30,
bladeCount: 18000,
bladeCount: 32000,
bladeWidth: 0.08,
maxBladeHeight: 0.36,
randomHeightAmount: 0.25,
surfaceOffset: 0.025,
heightTextureSize: 128,
windNoiseScale: 0.9,
baldPatchModifier: 2.5,
windStrength: 0.35,
baldPatchModifier: 1.1,
falloffSharpness: 0.35,
heightNoiseFrequency: 12,
heightNoiseAmplitude: 3,
maxBendAngle: 22,
heightNoiseFrequency: 9,
heightNoiseAmplitude: 1,
clumpFrequency: 2.6,
clumpThreshold: 0.18,
clumpSoftness: 0.45,
maxBendAngle: 14,
} as const;
export const GRASS_COLORS = ["#84C66B", "#67B058", "#A3CA5B"] as const;