Wayshaper Docs
View all packages

Getting started

Getting started

Draw a first road and river, add junctions, choose profiles, set per-knot values and import the samples.

Wayshaper 26.12.0Unity 6000.0+URP · HDRP · Built-in

The first time Wayshaper opens in a project, a welcome window walks through these steps. Open it again from Tools > Kiwi Studios > Wayshaper > Welcome. Tools > Kiwi Studios > Wayshaper > Quick Setup creates a terrain when the scene has none, adds the Terrain Compositor and checks the render pipeline settings in one step.

Your first road

  1. Open a scene with a Terrain and frame the place for the road in the Scene view.
  2. Choose GameObject > Wayshaper > Road. A road appears on the ground in front of the camera, using the Country Road profile.
  3. With the road selected, drag its knots in the Scene view. Click on the spline to add knots, and use the Splines tool overlay for tangent modes.
  4. The road mesh updates straight away. The terrain under it follows after a short pause.

To draw a road instead, choose GameObject > Wayshaper > Draw Road, or Draw Road in the Wayshaper overlay of the Scene view. Click on the terrain to place each knot, press Enter or double-click to finish, Backspace to remove the last knot and Esc to cancel. Draw River works the same way, and a river drawn uphill is turned so that it flows downhill.

The first road, river or intersection in a scene also adds a Wayshaper Terrain object with a Terrain Compositor. It saves a copy of the original terrain in Assets/Wayshaper/Terrain Originals/<scene name>/. Keep that folder in version control.

Your first river

  1. Choose GameObject > Wayshaper > River. The river follows the terrain and flows from the first knot to the last.
  2. Drag the knots. The water surface always runs downhill and the bed is carved below it.
  3. To change which way it flows, tick Reverse Flow in the River tab.

In the Universal Render Pipeline the river needs the Depth Texture and the Opaque Texture, and the renderer's Depth Texture Mode must not be After Transparents, which is Unity's default. If any of these is wrong, the River inspector shows a warning. Press Fix URP Settings to put them right.

Junctions

  • GameObject > Wayshaper > T Junction and Crossroads create an intersection with roads already connected.
  • On a road, the Junctions tab adds an intersection at either end.
  • On an intersection, Add Road in the Roads tab creates a new road in the widest gap between its roads, or towards the Scene view camera when it has none.

Profiles

Every road and river uses a profile asset that holds its look and shape: widths, materials, banking, flow and how it shapes the terrain. The package includes:

RoadsRivers
Highway, Country Road, Village Street, Dirt Track, Forest PathStream, River, Wide River, Mountain Creek

Changing a profile changes every road or river that uses it. To change one road only, press Make Unique Copy in its inspector. Copies are saved in Assets/Wayshaper/Profiles. Create new profiles from Assets > Create > Wayshaper.

Per-knot values

The Knots tab lists every knot with sliders for width and bank on roads, and width, depth and speed on rivers. The values are stored on the spline, so they stay on the right knots when you insert or delete knots. The round handles on the right edge in the Scene view change the width at each knot.

Samples

Import the samples from the Package Manager:

  • Valley Showcase: a 512 metre valley with a highway, a T junction, a cobbled village crossroads, a dirt track, a forest path, a river and a mountain creek. Press Play for a guided tour with live toggles and floating barrels.
  • Runtime API: builds rivers, roads and a junction from code at runtime, shapes the terrain, floats crates and reads the flow under the mouse.

Still stuck?

Bring the scene with you.

Include the Wayshaper version, Unity and render-pipeline versions, the road or river profile involved, any inspector warnings, relevant logs, and a minimal scene with its Terrain Originals folder.

Email supportJoin Discord

Wayshaper 26.12.0

Search documentation