You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,18 @@ SKILL.md and CLAUDE.md MUST update on every code change. SKILL.md = agent-facing
29
29
30
30
`createTerrainSystem(scene, args, sceneConfig)` in `client/TerrainSystem.js`. Infinite chunked FBM terrain generated in a Web Worker Blob URL. Auto-initialized in `client/app.js``onWorldDef` from world config `terrain` field. Call `terrain.update(camera.position)` every animate frame.
**Debug API**: `window.__debug.terrain` exposes `{ chunks, pending, cfg, lodDist, timing, api }` where chunks = loaded cache size, pending = generation queue size, cfg = current config, lodDist = `{<resolution>: count}` map, timing = `{ samples, avg, p50, p95, max, workers }` rolling 60-chunk build duration in ms, api = direct system handle.
41
44
42
45
**Biomes**: desert (canyon-style with river cuts) blended with default (erosion, lakes, rivers) via low-frequency FBM. Blend controlled by `biome` vertex attribute passed to shader.
0 commit comments