Procgen Effects Showcase
- ..
- .metadata319 B
- README.md627 B
- graph.json4.8 KB
- init.luau2.0 KB
- preview.png15.6 KB
README.md
rock_field
A field of rough rocks strewn over a 24 m square: one rock shape (a subdivided octahedron with noise displaced along its normals) copied onto points across the ground, each copy with a turn, lean and size of its own.
local e = entity.spawn("rock_field", { position = { 0, 0, 0 } })
e.component.add("Generator", { graph = "rock_field", params = { seed = 3, count = 400 } })
| Input | Default | What it does |
|---|---|---|
seed | 1 | Re-rolls where the rocks lie and how they sit. |
count | 160 | How many rocks (0 to 5000). |
The output rocks is the rock copies with their stone material.