Claude Code built an Earth-sized procedural planet in Unity over 4 months
imlo2 · reddit · 2026-11-22
A veteran 3D tech artist shared a project where Claude Code wrote most of the code for an Earth-sized procedural planet in Unity 6 (URP), 270 commits since late July, demoed in one continuous flight from 4,600km orbit down to grass level.
Workflow highlights
- Claude drives the Unity Editor itself via an MCP server: recompiles, reads the console, toggles Play Mode, runs Csnippets in-editor.
- Judges by renders, not numbers: early drift from passing numeric checks was fixed with capture rounds — 47 fixed-viewpoint shots in 4 minutes with before/after diff sheets.
- Repo as memory: CLAUDE.md rules, handoff docs, decision records, per-subsystem tech notes, and a dead-ends file so nothing gets retried accidentally.
- Screenshots carry location metadata so Claude can reproduce issues at the exact view; works from papers (chunked LOD, Bruneton 2010 seas, RPV desert reflectance) noting deviations; writes its own measurement tools; scripts Blender via another MCP; textures from Codex's image model.
Division of labor: author sets direction and judges by eye, Claude writes code and tools, Codex makes textures and reviews subtle changes.
Renderer: cube-sphere quadtree, GPU-generated 32×32 tiles from 25 octaves of 3D noise (16,000km to 1m), camera fixed at origin with doubles, Hillaire atmosphere, weather-map volumetric clouds, and a climate model driving rain, snow, forests and grass.
More from coding & agent
- Store Scraper MCP exposes App Store and Google Play data to AI agents — modelcontextprotocol · 2026-11-22
- etapa MCP offers a free AI cycling coach for beginners — modelcontextprotocol · 2026-11-22
- Simon Willison on evals, going weird, and tools for Pulitzer-level journalism — TheTuringPost · 2026-11-22
- LangChain's "knowledge factory" essay sparks debate: better tools or training our replacements? — hwchase17 · 2026-11-22
- Knowledge factory in practice: background agents now 20-50% of all agent runs — hwchase17 · 2026-11-22
- Researcher names 'decision inertia' as the #1 flaw of current frontier agents — andrey_kurenkov · 2026-11-22