Forest Generator
LibraryUses noise to generate a forest using prefabs (trees, shrubs, grass etc.)
thumb_up
1
open_in_new
View on sbox.game
Doubled – Forest Generator & Terrain Painter
A pair of editor tools for procedural world building directly inside the s&box editor.
Forest Generator
Scatter prefabs across your scene procedurally with full artistic control.
- Prefab list with weighted randomization – define any number of prefabs (trees, rocks, props…) each with an independent spawn probability weight
- Bounding box placement – draw the area directly in the scene or set it manually
- Perlin noise density – control where prefabs cluster and where they thin out using noise scale and threshold
- Random scale variation – set min/max scale per generation run
- Align to terrain normal – objects orient themselves to the slope they're placed on
- Seed-based randomization – repeat or vary results with a single seed value
- Preset save/load – store and recall your favourite configurations as JSON files
Terrain Painter
Procedurally apply materials to your terrain in one click using three purpose-built layers.
- Base layer – the ground material (e.g. grass) that covers everything
- Shore layer (sand) – paints a beach band around a configurable water level using world-space height. Supports smooth blending into the base layer, organic noise displacement on the shoreline edge, and a max-height cap to prevent painting sand on cliffs
- Slope layer (rock) – paints steep areas with a configurable slope threshold. Fades smoothly into the underlying material (grass or sand) using a configurable blend width. Respects a shore-avoidance zone so rocky cliffs near the water correctly show sand underneath, not rock
- Smart two-material resolve – because s&box terrain blends exactly two materials per texel, the painter automatically picks the best pair (rock over sand on a rocky beach, rock over grass inland, sand over grass on a flat beach)
- Preset save/load – same JSON system as the Forest Generator
17
Total Users
26
Total Sessions
5.5 hours
Total Playtime
0 recorded entries
| Rank | Player | Score | Recorded |
|---|---|---|---|
|
refresh
Discovering package leaderboards...
|
|||
Package ID:
doubled.forest_generator
Created:
2026-02-20 09:01 UTC
Updated:
2026-02-20 14:40 UTC
Type:
library
Public:
Yes
Version:
154696
files:
283
Size:
41.4 MB
Engine Version:
24
Asset Version ID:
154696
Version Created:
2026-02-20 14:40 UTC
Hash:
6232707377149458592
Manifest: Open manifest
more_horiz Additional Properties
Compiler:
{"RootNamespace":"Doubled.ForestGenerator","DefineConstants":"SANDBOX;ADDON;DEBUG","NoWarn":"1701;1702;1591;","WarningsAsErrors":"","TreatWarningsAsErrors":false,"Nullables":false,"ReleaseMode":"Release","AssemblyReferences":[],"ReplacementDirectives":{".Server.cs":"SERVER"},"IgnoreFolders":[],"DistinctAssemblyReferences":[]}
154696
Feb 20, 2026
Changes on 2026-02-20
154621
Feb 20, 2026
Changes on 2026-02-20
154529
Feb 20, 2026
Changes on 2026-02-20
Live API Passthrough & Removal Notice
This file manifest and asset metadata are retrieved live directly from the official Facepunch s&box public API. s&box Explorer does not host, store, or redistribute any package files. All download links route directly to Facepunch CDN servers.