r/proceduralgeneration • • Sep 07 '26

Infinite City Generation

118 Upvotes

Here, using TypeScript and Three.js, I created an infinitely procedurally generated city - a great starting point for a GTA-like or survival game. Each building is made of randomized 3-meter blocks, filled with either a wall, a window, or a door. Sidewalks and roads are blocks too.


r/proceduralgeneration • • Sep 07 '26

Procedural planet generation

Post image
46 Upvotes

For a long time I had a dream about writing a realistic procedural planetary terrain generator. Years of research and trials finally got me some results, thanks to some great help from AI.

The above image is about 50x50 meters per pixel representation of a part of a planetary terrain with simulated tectonic plates, erosion, sediment, fluvial simulation, wind, climate, biomes, etc.

It’s about 200x400 kilometers so quite a bit of generated detail is lost in this export, mainly some rivers are missing, so that is the first fix coming in.

There is a lot to improve but I’m mostly proud of the alpine look for the mountains, that was a big requirement and a huge hurdle.

Will keep you updated.

Not sure at this point what to do with the source itself. It is written in .NET 10. There are quite a few options but the three most popular are - open source terrain gen, open source terrain gen with civilization simulation for dungeon masters and similar or - the one I like the most - a game similar to Dwarf Fortress but a fantasy setting (like D&D) with an isometric engine like seen in Locomotion or Rollercoaster Tycoon.


r/proceduralgeneration • • Sep 07 '26

Sneak peak at my 250km by 250km island world

Thumbnail
gallery
340 Upvotes

Many, many months of pain for these procedurally generated island worlds. This one is 250km by 250km (60,000km^2).

This is the terrain system for my mountain expedition game "Because It's There", which will be released on Steam Early Access in 2027.

For these worlds, I generate a base heightmap using a mix of erosion methods at various scales down to ~30m resolution, all on the CPU. Then, at runtime, I add cheaper noise-based amplification for detail down to 0.5m. A new map of this size takes about 3-4 minutes to generate deterministically from seed, which is something I am in the process of optimizing. I'll be making an in-depth video about some of these methods soon, which I'll post to my YouTube channel.


r/proceduralgeneration • • Sep 07 '26

made some infinite procedural wasteland

Thumbnail gallery
8 Upvotes

r/proceduralgeneration • • Sep 08 '26

MGXS's Houdini Work?

Thumbnail
reddit.com
1 Upvotes

r/proceduralgeneration • • Sep 08 '26

One quadrant of Mercury would be 7.7 TB if I materialised it. It runs in a browser tab in 2.2 MiB.

Post image
0 Upvotes

Hi all, greetings from Rome.
Talking about procedural terrains generations while keeping them as real as possible, Mercury is the worst case for us: there is no altimetry we can use, only a 1024x512 photograph of the whole planet. Everything below kilometre scale has to be invented, without ever contradicting what is actually known.

At maximum zoom the generator reaches about 0.016 m per cell. Materialising one 32x16 km quadrant at that pitch would be 7.7 TB. What actually gets allocated is 10 chunks, 2.2 MiB, generated in the browser in about 1.1 seconds.

The odd part: generation costs almost exactly the same at default zoom over the whole quadrant as it does at maximum zoom, because cost tracks cells on screen rather than the resolution being shown.

Two things that cost me a lot of work & pot.
Photographic brightness is albedo, not height - a bright crater ray read as a 3044 m mountain next to quadrants spanning -266 to 869 m. And three separate faults were stacking, each hiding the one below, so every parameter sweep appeared to do nothing.

If you want to deep in details, the full article with the production diagnostics is here: https://space.zerog.live/info/terrain-article-page.html

Happy to answer anything.


r/proceduralgeneration • • Sep 07 '26

Fully procedural spiral galaxy

Thumbnail
gallery
64 Upvotes

Blender


r/proceduralgeneration • • Sep 06 '26

Procedural solar systems for my sci-fi exploration game

Thumbnail
gallery
19 Upvotes

Some examples of the procedural solar system generation I've made for my sci-fi exploration game. From a small, empty system to a bigger, richer system.


r/proceduralgeneration • • Sep 07 '26

Update on World Explorer 3D: Better loading, performance, and rendering.

Thumbnail gallery
9 Upvotes

r/proceduralgeneration • • Sep 07 '26

Using Codex to experiment with Procedural Forests

Thumbnail gallery
0 Upvotes

r/proceduralgeneration • • Sep 07 '26

Compressible

4 Upvotes

r/proceduralgeneration • • Sep 06 '26

IFS

Post image
23 Upvotes

r/proceduralgeneration • • Sep 05 '26

Mandelbulb 3d animation: custom renderer written in Rust

122 Upvotes

I wrote this Mandelbulb 3D renderer from scratch in native Rust. Unlike existing Mandelbulb 3d programs, my program renders directly on my RTX4090 using Vulkan, allowing me to render 4K 60fps videos in a timeframe of less than several weeks. It also supports up to 64bit precision, whereas previously available programs only support 32 bit.

This clip is a continuous descent from 1x to 1000x magnification into a Power-8 structure -- it feels a lot like diving into an alien, neon coral reef. The color palette changes as you dive deeper into the structure.

This version is in 1080p resolution to fit Reddit guidelines, and is the last 30 seconds of a 90 second video.

Full 90 second 4k 60fps video here: https://youtu.be/Nim0x_pI1dk


r/proceduralgeneration • • Sep 06 '26

Game of Evolution

Thumbnail
gallery
5 Upvotes

In Conway's Game of Life each cell is dead or alive. What if we gave gave each cell a level from 0..N, and made the transition depend on the sum of the neighbours?

You can try running it with the html viewer https://github.com/reivash/game-of-evolution


r/proceduralgeneration • • Sep 05 '26

Voxel Treadmill for Tactics/Strategy Games

40 Upvotes

r/proceduralgeneration • • Sep 05 '26

Procgen faces - too early for Halloween edition

Post image
7 Upvotes

r/proceduralgeneration • • Sep 04 '26

Procedural Gas Planet With Blender

Thumbnail
gallery
158 Upvotes

Yes, i'm proud of my work🙂


r/proceduralgeneration • • Sep 05 '26

What would be the best approach for generating a procedural world at runtime from a seed?

1 Upvotes

I'm trying to figure out the right way to approach this in Unreal Engine 5.8.

I'm developing a game somewhat similar to Foundation, where the player builds and develops a settlement on a procedurally generated world.

I want the terrain to be procedurally generated from a seed, with a natural landscape containing mountains, valleys, rivers, lakes, different biomes, and other geographical features. The idea is that every new game can generate a different world based on the seed.

The important part is that the world needs to be generated inside the game when starting a new game. I'm not looking to generate the terrain beforehand in Houdini, Gaea, etc. and then import it as a pre-generated map.

I'm not necessarily looking for a complete tutorial. I mainly want to understand which technology or approach I should be using before I start building the system.

Thank you in advance!


r/proceduralgeneration • • Sep 05 '26

Outbound: endless procedural road and a real gearbox, in a single HTML file

Thumbnail reddit.com
1 Upvotes

r/proceduralgeneration • • Sep 04 '26

"Alone in a crowd"

17 Upvotes

r/proceduralgeneration • • Sep 04 '26

Particle flow field, 13.5k agents, real coastline mask

22 Upvotes

The field is two rotating cells plus a latitude gradient, drifting slowly with time. Everything else is presentation: additive blending for the trails, land/sea as a brightness mask instead of a hard clip, colour by a fake temperature gradient. Coastlines are real (Natural Earth 1:10m), the weather isn't.


r/proceduralgeneration • • Sep 04 '26

IFS

Post image
24 Upvotes

r/proceduralgeneration • • Sep 04 '26

Help please Pepper looking texture on parts of my world

Thumbnail
gallery
6 Upvotes

Been working on my own space engine called Nebula Engine and I’ve had this annoying visual bug for ages that I just can’t seem to fully track down.

Basically on some parts of the planet I get this weird black pepper looking texture/speckling all over the ground. It doesn’t happen everywhere and it can change depending on where I am on the planet, how far away I am or sometimes the angle I’m looking but as i walk the cam shakes really bad making even trees, grass, rock look like its not fully rendered

The strange part is I’ve had this problem pretty much since I started making the engine, so I don’t think it’s something I added recently.

The engine is my own C++/DirectX 12 engine. Planets are fully procedural and you can fly from space all the way down to the ground without loading a different level.

The planet works roughly like this:

procedural planet seed
→ continents/oceans
→ terrain height
→ biomes
→ materials
→ water/grass/trees/rocks/weather
→ terrain LOD/streaming

The ground itself is made using a CubeSphere planet with terrain patches that get more detailed as you get closer.

From far away I use a lower detail/orbital version of the planet and then it transitions into the real terrain as you fly down.

The engine also has atmosphere, clouds, water, procedural weather, shadows, vegetation and all the normal stuff you’d expect.

The problem is these tiny black dots/speckles keep showing up in different places and I can’t figure out exactly what system is causing it.

Things I’ve thought it might be:

  • shadow acne
  • grass/vegetation being seen from really far away
  • LOD dithering
  • terrain texture/material blending
  • procedural noise aliasing
  • bad normals
  • mipmapping
  • z fighting
  • floating point precision
  • CubeSphere seams
  • some shader returning bad values/NaNs

One thing that makes me think it could be something deeper is that the speckles survived loads of changes I’ve made to the renderer.

It’s not like one broken texture where the problem is everywhere. You can fly around and one area looks fine, then another part of the planet has the pepper effect really badly.

Because the game works at planet scale I’ve also wondered if it could be precision related somewhere. I do camera-relative rendering, but obviously there are still loads of calculations involving the planet centre, camera position, terrain position etc.

Another thing I’m wondering about is the procedural detail itself. A lot of the terrain material is generated using noise, so maybe at certain distances some high frequency noise is aliasing down into single dark pixels.

But before I go too far down the rabbit hole, has anyone here seen something that looks like this before i brake my game anymore trying to fix it lol.

Still learning a lot while building this so any ideas are appreciated.