Uploaded July 2026 | Updated November 2026, 1 hour ago
A single streaming procedural planet is thousands of chunk actors. Place four of them in one level and you pay for all four — memory, ticks, async builds — including the three you aren't even looking at. This video is how PlanetGen V1.6 fixed that, and the LOD transition that hides itself.
──────────────────────────────
🌍 GET PLANETGEN
──────────────────────────────
► Get it on FAB: fab.com/listings/96c36654-f244-4c75-a527-cfaaab2d5ac4
► Free Playable Demo + Project: patreon.com/CodeLikeMe/posts/164867413
► Discord Community: discord.gg/jRhvJtw5r5
► Subscribe: youtube.com/codelikeme
The core observation is simple: you can only stand on one planet at a time. So a central arbiter (a world subsystem) picks the planet whose SURFACE you're nearest, gives exactly that one a full streaming chunk pool (LOD0), and leaves every other planet as a single low-poly sphere built from the same noise (LOD1). At most one pool is alive, no matter how many planets you place.
The interesting part is the handoff. Instead of dithering or fading — which shows stars through the planet and costs a translucent pass — the far sphere is scaled: slightly ABOVE the terrain peaks for the far view (so chunk detail can't poke through), then shrunk BELOW the lowest terrain once chunks are ready, where the streamed geometry occludes it for free.
Covered in detail:
• Ranking planets by surface distance, not centre distance — and why that matters with mixed planet sizes
• Two hysteresis gates (release margin + steal margin) so the LOD state can never thrash
• Measuring the terrain the noise ACTUALLY produced instead of trusting Min/Max Height
• The under-sampling "miss" term — how far real terrain rises between the far mesh's vertices — and why it scales with planet size
• The uniform-scale trap: the expand formula that inflated the whole sphere, and the one that works
• Gating the retract on 90% of in-range chunks being built (70% to stay), plus the hold-just-below-the-surface state while terrain cooks
• Deferred pool teardown so leaving a planet never flashes a hole
• Time-slicing both the spawn AND the destroy of thousands of actors
• Force LOD0 / LOD1 / Both debug controls — and how "Force Both" makes clearance bugs visible
The lesson that generalises: when a resource is globally scarce, put one arbiter in front of it and give everyone else a cheap stand-in — and hide geometry with geometry, because occlusion is free and dithering isn't.
──────────────────────────────
🚀 SPACE TOOLKIT
──────────────────────────────
PlanetGen pairs with two companion plugins for complete space gameplay:
► GravityCore — custom gravity for any shape: fab.com/listings/c74de757-8cf8-45ff-9d6e-82d3b421af5b
► Starship — pilotable spaceship for planet-to-planet travel: fab.com/listings/3f2e3b36-eb5f-468d-a47a-6e378ddefdbf
#UnrealEngine #UE5 #GameDev #IndieDev #ProceduralGeneration #PlanetGeneration #LOD #OpenWorld #UE5Tutorial #GameDevTips
A single streaming procedural planet is thousands of chunk actors. Place four of them in one level and you pay for all four — memory, ticks, async builds — including the three you aren't even looking at. This video is how PlanetGen V1.6 fixed that, and the LOD transition that hides itself.
──────────────────────────────
🌍 GET PLANETGEN
──────────────────────────────
► Get it on FAB: fab.com/listings/96c36654-f244-4c75-a527-cfaaab2d5ac4
► Free Playable Demo + Project: patreon.com/CodeLikeMe/posts/164867413
► Discord Community: discord.gg/jRhvJtw5r5
► Subscribe: youtube.com/codelikeme
The core observation is simple: you can only stand on one planet at a time. So a central arbiter (a world subsystem) picks the planet whose SURFACE you're nearest, gives exactly that one a full streaming chunk pool (LOD0), and leaves every other planet as a single low-poly sphere built from the same noise (LOD1). At most one pool is alive, no matter how many planets you place.
The interesting part is the handoff. Instead of dithering or fading — which shows stars through the planet and costs a translucent pass — the far sphere is scaled: slightly ABOVE the terrain peaks for the far view (so chunk detail can't poke through), then shrunk BELOW the lowest terrain once chunks are ready, where the streamed geometry occludes it for free.
Covered in detail:
• Ranking planets by surface distance, not centre distance — and why that matters with mixed planet sizes
• Two hysteresis gates (release margin + steal margin) so the LOD state can never thrash
• Measuring the terrain the noise ACTUALLY produced instead of trusting Min/Max Height
• The under-sampling "miss" term — how far real terrain rises between the far mesh's vertices — and why it scales with planet size
• The uniform-scale trap: the expand formula that inflated the whole sphere, and the one that works
• Gating the retract on 90% of in-range chunks being built (70% to stay), plus the hold-just-below-the-surface state while terrain cooks
• Deferred pool teardown so leaving a planet never flashes a hole
• Time-slicing both the spawn AND the destroy of thousands of actors
• Force LOD0 / LOD1 / Both debug controls — and how "Force Both" makes clearance bugs visible
The lesson that generalises: when a resource is globally scarce, put one arbiter in front of it and give everyone else a cheap stand-in — and hide geometry with geometry, because occlusion is free and dithering isn't.
──────────────────────────────
🚀 SPACE TOOLKIT
──────────────────────────────
PlanetGen pairs with two companion plugins for complete space gameplay:
► GravityCore — custom gravity for any shape: fab.com/listings/c74de757-8cf8-45ff-9d6e-82d3b421af5b
► Starship — pilotable spaceship for planet-to-planet travel: fab.com/listings/3f2e3b36-eb5f-468d-a47a-6e378ddefdbf
#UnrealEngine #UE5 #GameDev #IndieDev #ProceduralGeneration #PlanetGeneration #LOD #OpenWorld #UE5Tutorial #GameDevTips










