M3D Desert Generator
M3D Desert Generator – Product Documentation
28 thg 11, 2026 · @Mega 3D
Version 1.1.0 · Text and tables only, ready to paste into a product page.
1. Overview
M3D Desert Generator is a Blender add-on that procedurally generates low-poly desert terrains and game assets in one consistent Faceted Stylized look: chunky shapes, deliberate flat facets, flat shading, and a single material with one 10 × 10 colour atlas.
Part |
What it makes |
|---|---|
Assets |
56 asset types in 11 categories: cliffs and mesas, rock formations, boulders, rubble, grasses, cacti, deadwood, trees, palms, bones, ruins |
Terrain |
10 desert environments, surface only, with optional trails, roads and seamless tiles |
Scatter |
Rule-based placement of the assets on a terrain, with density masks and exclusion zones |
2. Requirements
Item |
Minimum |
Recommended |
|---|---|---|
Blender |
4.0 (legacy add-on) |
4.2 or newer (Extension) |
OS |
Windows, macOS, Linux |
Same |
CPU |
Any 64-bit CPU |
Good single-core speed (generation uses one core) |
RAM |
8 GB |
16 GB; 32 GB for 240 m maps at High or large tile sets |
GPU |
Any GPU that runs Blender |
Only affects viewport speed |
Extra software |
None |
None (uses Python and numpy shipped with Blender) |
3. Installation
- Download m3d_desert_generator-1.1.0.zip. Do not unzip it.
- Blender 4.2+: Edit › Preferences › Get Extensions › drop-down at the top right › Install from Disk, then pick the zip.
- Blender 4.0 / 4.1: Edit › Preferences › Add-ons › Install, pick the zip, then enable M3D Desert Generator.
- In the 3D Viewport press N and open the M3D Desert tab.
4. Quick start
A single asset
- In M3D Desert Assets, choose a Category and an Asset.
- Set a Seed and a Detail tier (Auto is a good default).
- Press Generate. Tune Shape Parameters, then select the asset and press Regenerate.
A complete scene
- In M3D Terrain & Scatter, choose an Environment, Size and Detail.
- Tick "Also scatter assets".
- Press Generate Terrain. Use Re-scatter for a new layout of the assets.
Every long operation shows a "Working…" notice with an estimated time and locks the M3D buttons. Wait for the result message in the status bar; every operation can be undone with Ctrl+Z.
5. Assets
5.1 Catalogue
Category |
Count |
Assets |
|---|---|---|
Canyon Cliffs & Mesas |
2 |
Mesa, Canyon Cliff |
Rock Formations |
3 |
Hoodoo, Spire, Natural Arch |
Boulders |
2 |
Boulder, Split Boulder |
Rubble & Pebbles |
1 |
Rubble Cluster |
Grasses & Reeds |
5 |
Green Grass Clump, Cattails, Aloe Cluster, Dry Grass, Dead Grass |
Cacti |
5 |
Saguaro, Barrel Cactus Cluster, Prickly Pear, Organ Pipe, Dead Saguaro |
Deadwood & Tumbleweed |
5 |
Bleached Branch, Stick Pile, Tumbleweed, Loose Tumbleweed, Broken Stump |
Desert Trees |
5 |
Acacia, Joshua Tree, Twisted Broadleaf, Dying Tree, Dead Hollow Tree |
Palms |
5 |
Coconut Palm, Date / Canary Palm, Fan Palm, Dry Twin Palm, Dead Palm |
Desert Bones |
11 |
Bull Skull, Ribcage, Scattered Long Bones, Spine & Pelvis, Small Skeleton, Giant Tusk, Upright Pelvis, Bone Fragments, Buried Ribcage, Skull & Vertebrae, Single Bone |
Ruined Structures |
12 |
Archway, Ruined Wall, Stone Column, Tower / Monument, Stone Well, Staircase / Platform, Ruined Doorway, Wooden Scaffolding, Wooden Platform, Wooden Barricade, Collapsed Timber Frame, Random Ruin |
5.2 Detail tiers
Tier |
Triangles |
Typical use |
|---|---|---|
Auto |
Recommended tier of the asset |
Default |
Low |
50 – 1,000 |
Mobile, distant props, scatter fill |
Medium |
1,000 – 2,500 |
Most game props |
High |
2,500 – 5,000 |
Hero assets, close-up renders |
The generator searches automatically for a result inside the tier. Turn on Triangulate for triangles instead of flat n-gons.
5.3 Controls
Panel |
What it does |
|---|---|
Shape Parameters |
Per-asset controls (height, erosion, strata, branching, flowers, weathering, burial…). Randomize with an Amount, Every Generate, Include Toggles, Reset |
Ruins style set |
Shape Variation, Complexity 1–5, Destruction 0–5 (Intact to Ruin Remains), Irregularity, Debris, Size, Sand Base |
Palette & Recolor |
Palette variants per material; Recolor Selected applies them instantly by moving UV islands between atlas cells; Atlas Cell Remapper |
Batch Generation |
Seeds, Mix, Category or Biome mode; grid layout in its own collection; Share Style Controls for matching kits |
Image Guide |
Analyse a reference photo for proportions and colours, then apply them as suggestions |
Active Asset |
Type, seed, tier and triangles per facet level; Load from Active |
6. Terrain
Terrains are surface only (no sides, no bottom), use the same atlas material as the assets, and are rebuilt in place with Regenerate. Delete removes a terrain with its water and scattered assets.
6.1 Environments
Environment |
Landforms |
|---|---|
Canyon |
Stratified walls with benches, meandering trunk canyon, tributaries, plateau tiers, mesas, talus, fallen blocks, plunge pools |
Sandy Desert (Erg) |
Barchan, transverse, linear or mixed dunes shaped by the wind, slip faces, interdune pavement, rock outcrops |
Rocky Desert (Hamada) |
Stepped rock plateaus, inselberg knolls, gravel pavement, shallow sandy washes |
Salt Flat (Playa) |
Salt-polygon crust, old shorelines, mud ring, alluvial rim, rock islands |
Badlands |
Sharp clay ridges, dense gullies, colour bands, caprock knobs |
Mesa & Butte Land |
Mesas and buttes with strata walls, talus aprons, fallen blocks |
Wadi / Dry River |
Rolling rocky hills, terraced dry valley, braided bed, tributaries |
Oasis Basin |
Lake (separate water object), mud shore, grass ring, lee dunes, rock rim |
Gravel Plain (Reg) |
Low swells, faint rills, a low scarp, rock knobs, sand streaks |
Yardang Field |
Wind-streamlined rock ridges with blunt heads and tapering tails, sand corridors |
Each environment has its own Landform controls (height, wind direction, dune type, water level and more) and a Randomize button.
6.2 Size and detail
Setting |
Options |
|---|---|
Size |
Small 60 m, Medium 100 m, Large 160 m, Huge 240 m, or Custom X × Y |
Detail |
Preview ≈ 12k, Standard ≈ 22k, High ≈ 40k triangles per 100 m |
Max Triangles |
Optional fixed budget that overrides Detail |
6.3 Water
Lakes and pools are a child object with the material M3D_Water: a Principled BSDF driven only by colour values (base colour, opacity, roughness, transmission), no textures.
7. Trails and roads
Routes are carved into the ground when the terrain is built and are kept free of scattered assets (route plus a 1 m margin). Changes take effect only on Generate Terrain or Regenerate, not on Scatter.
Setting (1 Terrain › Trails & Roads) |
Effect |
|---|---|
Trails 0–6 |
Automatic footpaths: narrow, follow the ground closely |
Roads 0–3 |
Automatic roads: wide, smooth, grade-limited (cut through bumps, fill dips) |
W next to Trails |
Width of every trail, default 1.8 m |
W next to Roads |
Width of every road, default 4.5 m |
Curves |
A collection holding your own curves; each curve becomes a route |
7.1 Automatic routes
- Set Trails and/or Roads to a number.
- Press Generate Terrain, or select a terrain and press Regenerate.
- Routes follow the least tiring path; roads run edge to edge, and in an Oasis Basin most trails lead to the lake. To change them, change the terrain seed or landform.
7.2 Your own routes from curves
- Generate the terrain first so you can see the map.
- Top view (Numpad 7), then Shift+A › Curve › Bezier. Tab into Edit Mode; move points with G, extend with E, or sketch with the Draw tool. Tab back.
- Name the curve object: a name containing "road" (any case) makes a road; any other name makes a trail.
- Select the curves, press M › New Collection, name it (for example Paths).
- In Trails & Roads › Curves, pick that collection. Set Trails and Roads to 0 if you only want your own routes.
- Select the terrain and press Regenerate. A scattered terrain is re-scattered automatically.
- Hide the curve collection before rendering or exporting.
Read from the curve |
Ignored |
|---|---|
Shape seen from above (X, Y), world space |
Height (Z) |
Every spline as its own route; Bezier, Poly, NURBS; cyclic loops |
Bevel, extrude, taper, modifiers |
Curves in child collections |
Mesh objects (convert with Object › Convert › Curve) |
Object name (road / trail) |
Parts outside the map |
Tips: run roads along valleys and gentle slopes, avoid tight zigzags, stay a few metres from the map edge, and do not rotate or scale a terrain that uses curves (moving is fine if the curves move with it).
8. Seamless tiles
Set Tiles X and Y (1–8 each) to split a map into separate objects whose borders match vertex for vertex. Each tile has the size set in Size, so 3 × 3 tiles of 100 m make a 300 m world.
- Tiles are placed side by side around the 3D cursor (or origin) and selected together.
- Routes, water and scatter work across tiles; lakes belong to the tile containing their centre.
- Regenerating any tile rebuilds the whole set, so seams always keep matching. Do not move single tiles if you want to regenerate the set later.
- Each tile is one object: stream, cull or LOD them separately in your engine.
9. Scatter
Scatter together with Generate Terrain (tick "Also scatter assets") or later on any selected terrains. Placement follows rules per environment: rockfall from cliffs that rolls to the wall feet, clusters of large and small rocks, vegetation in washes and around water. Nothing overlaps, stands on steep cliffs, in water, on routes or on the outer map edge.
Control |
Effect |
|---|---|
Seed |
Layout only; same assets, new arrangement |
Density |
Global amount; 1.0 = designed density, 0 = nothing |
Size |
Global scale; above 1 for chunkier props |
Randomness |
0 = even cover, 1 = strong clumps and gaps |
Categories |
Hero Rocks, Boulders, Rubble, Vegetation, Deadwood, Bones, Ruins: on/off, Density, Size, Spread |
Variants |
Different meshes per asset type, 1–8 |
Asset Detail |
Recommended, All Low (mobile), Asset Tiers |
Exclude + Margin |
Objects in a collection keep their footprint plus the margin free |
Density Masks |
Painted vertex groups (section 10) |
Re-scatter / Clear |
New layout / remove the scatter of the selected terrains |
Merge Scatter |
Bake instances into one mesh per category for export |
Purge Library |
Delete unused library meshes from the .blend |
Instances are linked duplicates parented to the terrain, in the collection "M3D Scatter - <terrain>". Their variant meshes (M3D_Lib_…) are stored in the .blend and reused by later scatters.
10. Density masks
A density mask is a vertex group painted on the terrain that sets how many assets may grow where. Masks are read when you scatter.
Weight |
Weight Paint colour |
Effect |
|---|---|---|
1.0 |
Red |
Normal density |
0.5 |
Green |
About half |
0.25 |
Cyan |
About a quarter |
0.0 |
Blue |
No assets |
Vertex group name |
Controls |
|---|---|
M3D Density |
All assets |
M3D Density Hero Rocks / Boulders / Rubble / Vegetation / Deadwood / Bones / Ruins |
That category only |
Masks multiply: 0.5 on "M3D Density" and 0.5 on "M3D Density Vegetation" give a quarter of the plants and half of everything else.
10.1 Painting a mask
- Select the terrain (or one of its scattered assets).
- In Scatter › Density Masks, choose All Assets or a category.
- Press Add & Paint. The add-on creates the group at weight 1 (the terrain shows red), makes it active, switches to Weight Paint and sets the brush weight to 0.
- Optional: hide the "M3D Scatter - <terrain>" collection while painting so the props do not hide the ground.
- Paint with the left mouse button. Weight 0 removes assets, 0.3–0.6 thins them out, 1 brings them back. F changes the radius, Shift+F the strength. Use the Blur brush for soft edges and the Gradient tool for a smooth fade.
- Return to Object Mode, show the scatter collection again, and press Re-scatter with the same seed.
10.2 Good to know
- Masks are kept when you Regenerate the terrain: weights are carried over to the new mesh.
- Painting changes the active vertex group; to switch masks, press Add & Paint with the other mask chosen.
- Each mask is listed with an X button to delete it.
- Weights live on terrain vertices; flat areas have larger triangles, so masks are softer there. Use Standard or High detail for fine masks.
- Routes stay clear even where a mask is 1.
- Joining the terrain with other meshes or adding modifiers that change the vertex count breaks the masks.
11. Generation times
Measured single-threaded on a 2-core cloud machine without GPU, outside Blender; a typical desktop is similar or faster. The add-on's wait notice adapts its estimates to your machine.
11.1 Terrains, 100 × 100 m
Environment |
Preview |
Standard |
High |
+ 2 trails, 1 road (Standard) |
Scatter, worst case |
Assets placed |
|---|---|---|---|---|---|---|
Canyon |
7 s |
17 s |
32 s |
17 s |
26 s |
146 |
Sandy Desert |
5 s |
9 s |
19 s |
11 s |
20 s |
62 |
Rocky Desert |
7 s |
14 s |
23 s |
14 s |
40 s |
141 |
Salt Flat |
5 s |
9 s |
19 s |
11 s |
22 s |
29 |
Badlands |
7 s |
12 s |
25 s |
14 s |
16 s |
60 |
Mesa & Butte Land |
7 s |
15 s |
29 s |
19 s |
16 s |
205 |
Wadi / Dry River |
6 s |
12 s |
21 s |
14 s |
18 s |
118 |
Oasis Basin |
6 s |
11 s |
18 s |
10 s |
14 s |
191 |
Gravel Plain |
5 s |
11 s |
23 s |
11 s |
15 s |
127 |
Yardang Field |
5 s |
11 s |
22 s |
12 s |
19 s |
87 |
- Triangles: about 12,000 (Preview), 22,000 (Standard), 40,000 (High).
- At Standard, a 160 m map took 28–44 s and a 240 m map about 56 s.
- One tile of a 2 × 2 set took 9–15 s at Standard; a set costs roughly one tile time × number of tiles.
- Scatter worst case includes building the library meshes; once they exist, re-scattering usually takes a few seconds (up to about 15 s).
11.2 Assets, per asset (Low to High)
Category |
Time per asset |
|---|---|
Grasses, Cacti, Deadwood, Trees, Palms, Rubble |
Under 0.2 s |
Ruined Structures |
0.7 – 2.6 s |
Boulders |
1.0 – 2.7 s |
Rock Formations |
2.1 – 4.3 s |
Canyon Cliffs & Mesas |
3.7 – 6.2 s |
Desert Bones |
1.3 – 25 s (skeletons and bone piles are the slowest) |
Generating all 56 assets once (Biome batch) takes about 1.5 – 2.5 minutes.
12. Recommended settings
Target |
Terrain |
Asset detail |
Scatter |
|---|---|---|---|
Mobile game |
60–100 m, Preview or Standard |
Low / Medium, Triangulate on |
All Low, Variants 2–3, Density 0.6–1.0, then Merge Scatter |
PC / console game |
100–160 m, Standard or High; tiles for larger worlds |
Auto |
Recommended, Variants 3–5, Density 1.0–1.5 |
Stylized render |
100–160 m, High |
High near the camera |
Asset Tiers, Size 1.2–1.6, Variants 5–8 |
Fast blocking |
Preview |
Low |
Variants 1–2 |
13. Tips
- Block out at Preview, then switch to Standard or High: the same seed keeps the same landscape, only finer.
- Keep a good seed and use Randomize with a small Amount (0.2–0.4) for close variants.
- Load from Selected / Load from Active copies any object's settings back into the panel.
- Recolor instead of regenerating when only colours change: it is instant and keeps your edits.
- Use an Exclude collection with simple boxes for buildings and gameplay areas.
- Draw the main road yourself and let 1–2 automatic trails fill the rest.
- Wind Direction orients dunes, lee vegetation and yardangs together.
- Paint your own 10 × 10 atlas with the same cell layout to restyle everything.
14. Important notes
- Regenerate replaces the mesh: manual edits on a generated object are lost. Work on a copy if you edit by hand.
- Do not click around, switch files or close Blender while the "Working…" notice is shown. Save before very large builds.
- Keep the m3d_ custom properties and face attributes on objects; Regenerate, Recolor and Load from Active need them.
- Library meshes stay in the .blend; use Purge Library to slim the file.
- Foliage cards are single-sided: disable backface culling in your engine or use a two-sided shader.
- For export keep flat shading, export UVs and the material, and use nearest (point) filtering for the atlas.
- Very large single maps (above about 250 m at High) are slow and memory-heavy; use tiles instead.
15. Troubleshooting
Symptom |
Fix |
|---|---|
Blender seems frozen |
A long build is running; check the status bar estimate. Start with Preview next time |
"Tier could not be met" |
The asset needs more or fewer triangles; the closest result is kept. Use Auto or another tier |
Regenerate is greyed out |
Select an M3D object (for terrains: the terrain, its water or one of its assets) |
Scatter places nothing |
Density or all categories are 0/off, a mask is painted 0, or the Exclude collection covers the terrain |
Route missing or wrong type |
Regenerate after editing curves; the curve must be in the Curves collection; "road" in the name for a road |
Assets on a route / mask ignored |
Re-scatter after adding routes or painting masks |
Seams between tiles |
Select one tile and Regenerate: the whole set is rebuilt |
Blurry colours |
Set nearest / point filtering for the atlas |
16. Version history
Version |
Changes |
|---|---|
1.1.0 |
Trails and roads (automatic and from curves); seamless terrain tiles; painted density masks; scatter and clear on all selected terrains |
1.0.1 |
Terrain Delete; Generate / Regenerate / Delete cluster; wait notice with estimated time; unified Terrain & Scatter panel |
1.0.0 |
First release: 56 assets, 10 terrain environments, rule-based scatter, merge for export, palettes and recolour, batch, randomize, image guide |