Skip to content
Curious Trove
Samples Guide Learn by example OctoShaper 1.3Updated

Samples

OctoShaper ships with a set of samples. Each one is a small, readable graph you can open, tweak and copy from.

Import a sample

  1. Open Tools > OctoShaper > Getting Started and pick a sample under Samples. UPM installs also list them in Package Manager.
  2. Open its scene, or add a Procedural Graph Executor to an empty GameObject and assign the sample graph.
  3. Tweak the parameters in the Inspector. Turn on Generate In Edit Mode to see changes live.

Each sample has a README describing its controls. The samples use URP materials. See Installation.

Desert Mesa (new in 1.3)

Desert Mesa is a low-poly mesa island built from seven graphs: terraced cliffs, a sand base, an oasis with a dock, stairways, adobe houses, cacti and boulders. It shows the 1.3 tools working together, so it's the best place to try them.

  1. Import Desert Mesa, open Desert Mesa.unity, then run Tools > OctoShaper > Generate Graph Code. Every executor has Use Caching enabled.
  2. Select an object and pick a tool from the OctoShaper icon in the Scene view Tools overlay:
    • OctoShaper Spline redraws an outline by clicking points or sketching a stroke. See Drawing splines.
    • OctoShaper Handles drags sliders, box faces and radius discs. See Scene handles.
    • OctoShaper Position moves Vector3 parameters such as the dock position.

The cliff tiers are extruded from their outline with Extrude Spline Mesh, with cliff columns placed along an Offset Spline.

Frequently asked questions

How do I import the samples?
Open Tools > OctoShaper > Getting Started and choose a sample under Samples. UPM installations also list them in Package Manager.
Why are the sample materials pink?
The samples use URP materials. Switch the project to URP or replace the materials for your render pipeline.