Dungeon Generator - Procedural 3D Dungeons
ZEG Store
$15.40
$22.00
30%OFF
(no ratings)
Jump AssetStore
Dungeon Generator builds a finished, playable 3D dungeon the moment you add the component: walls, floors, ceilings, doors, stairs, torches, props, spawn points and a baked NavMesh, all with photoreal PBR textures. No room prefabs to model, no node graphs to learn. Pick a recipe, press Generate, roll the dice for a new seed.Every algorithm in one tool, mixable in one map- 12 layout algorithms: Rooms & Corridors, BSP Rooms, Room Grid (Isaac-style), Catacombs, Hub & Spokes, Maze, Cellular Caves, Drunkard Walk, Noise Caves, Wave Function Collapse, Hand-made Rooms (stitch your own room templates or prefab rooms, DunGen-style) and Hybrid (rooms joined by cave tunnels).- Split the area into zones, each with its own algorithm and its own look: crypt rooms next to a natural cave next to a maze.- 10 area shapes: rectangle, circle, ellipse, ring, cross, L, blob, islands, a painted mask (Paint Area tool) or a texture mask.Levels going up and down- Up to 8 levels above and 8 below the entrance: towers, pits, or both.- Connectors: straight and spiral stairs, ramps, ladders, one-way drop holes, pit drops and working elevators.- Per-level overrides: castle halls at the entrance, caves deeper down, a different kit or size per level. Atriums open to the level above, with railings.- Each level is its own GameObject, so top-down games can show only the player's level.Always playable- Every room is reachable. Start and boss/exit sit at the ends of the longest path.- Optional locked gates, each with its key in a room you can reach first.- Room roles (treasure, shop, secret, trap, shrine, library, prison, armory and more), corridor width 1-4 cells, cell size and wall height in meters.- One wall rule: walls always face the right way, with no gaps and no wrong rotations.16 looks, all editable- Stone Crypt, Castle Dungeon, Sewer, Natural Cave, Ice Cave, Lava Cavern, Mine, Ancient Temple, Desert Tomb, Overgrown Ruins, Prison, Sci-Fi Lab, Crystal Cave, Wizard Library, Pirate Grotto, Marble Palace.- A kit is a ScriptableObject: duplicate a built-in kit and change materials, tint, tiling, ceilings, arches, pillars, lighting and fog. You can also swap any slot for your own prefabs, so modular art packs work.- Kit Editor window with drop zones for your prefabs.You choose what goes inside- 37 built-in props in 108 variants: torches, braziers, candles, chandeliers, chests, barrels, crates, statues, banners, bookshelves, tables, sarcophagi, altars, cages, chains, bones, skeletons, cobwebs, crystals, mushrooms, spike traps, mine carts, levers, keys and more.- Spawn points for enemies, elites, bosses and loot, plus player start, exit, key and trap markers for your game code.- Content rules per room role with density, placement (against walls, corners, center, scatter, ceiling, doorways, corridors) and any prefab of your own. 8 content sets, 19 layout presets and 24 one-click recipes.NavMesh built in- A NavMesh is baked after every Generate with Unity's built-in navigation API, across all levels, with links for ladders, drops and elevators. No package needed.- Area costs for corridors, shallow water and traps. Lava and pits are cut out. Doors can be opened and closed at runtime (SetDoorOpen).- Optional: uses NavMeshSurface/NavMeshLink when the AI Navigation package is installed.Simple inspector- Four big steps with picture tiles: Layout, Look, Size & Shape, Contents. Everything else is folded away.- A live top-down map preview, a dice button for a new seed, Generate and Bake, with full undo.Ready for games- Chunked meshes with one submesh per material, shared materials with GPU instancing, and shared prop meshes. A 64x64 dungeon draws in about 105 draw calls.- LODGroups with real lower-detail passes, mesh colliders on floors and walls, and static flags.- Bake to Prefab saves meshes, materials and the NavMesh, so a finished level has no generator cost.- Runtime generation in player builds: seeded and deterministic, with the layout on a worker thread. It comes with events and a query API (rooms, spawn points, room at a position, random floor position).- Optional 2D Tilemap output for 2D games.Includes a demo scene with six dungeons and walking agents, documentation (PDF and Markdown) and 57 EditMode tests.

