Shaping Terrain
Overview
A flat terrain is a start, but games need hills to climb, valleys to hide in, flat places to build on and ramps to drive up. In this tutorial, you will shape a terrain by hand with a brush: a circle on the ground that changes whatever is under it. Different tools make the brush do different things: raise the ground, lower it, smooth it, flatten it, or shape it into a ramp. Everything can be done with the mouse or entirely with the keyboard, and Quorum Studio describes the ground to screen reader users as the brush moves, so the shape of the land can be explored without seeing it.
Goals
By the end of this lesson, you can
- Choose a terrain tool, and change the brush's size, strength and falloff
- Explain what a stroke is
- Shape the ground with Raise, Lower, Smooth, Flatten and Ramp, with the keyboard or the mouse
- Follow the shape of the ground through Quorum Studio's spoken reports
Warm up
Imagine you can't see the screen. You have just made a hill somewhere on the ground. How could you find out where it is, how high it is and how steep its sides are? What would you want the computer to tell you, and how often?
Vocabulary
You will be learning about the following vocabulary words:
| Term | Definition |
|---|---|
| Brush | The circle on the ground that a terrain tool changes. Its size is its radius, in world units. |
| Tool | What the brush does to the ground, such as Raise, Lower, Smooth, Flatten or Ramp. |
| Stroke | One continuous use of a tool, from when you start pressing until you let go. Each stroke is one change you can undo. |
| Strength | How much a tool changes the ground. For Raise and Lower, it is how many units per second the middle of the brush moves. |
| Falloff | How the brush's effect fades from its middle to its edge. |
| Slope | How steep the ground is at a point, in degrees. 0 is flat. |
| Flatten | A tool that evens the ground toward one height, making a level place. |
| Ramp | A tool that pulls the ground toward a straight slope between two points you choose, such as a path up a hill. |
CSTA Standards
For teachers · 2026 CSTA K–12 Computer Science Standards
High School · Programming
Refine a computing technology based on user feedback, testing results, and responsible design values to improve its effectiveness and impact.
Also in 4 other lessons
Specialty II · Game Development
Evaluate game interactions using diverse input devices to enhance immersion and player experience.
Also in 1 other lesson
Explore
This tutorial uses the terrain from Terrain in a Scene. Select it before you start, from the scene tree, by clicking the ground or with the scene cursor.
Choosing a tool
A terrain is shaped with tools. Each tool makes the brush do one kind of change, and only one tool is chosen at a time. With the terrain selected, choose one in either of two ways:
- With the keyboard: press Alt and the tool's number (on Mac, Option and the number). The numbers are in the table below.
- In the Properties panel: the Brush section has a Tool group listing every tool.
| Tool | Windows | Mac | What it does |
|---|---|---|---|
| Raise | Alt+1 | Option+1 | Raises the ground under the brush |
| Lower | Alt+2 | Option+2 | Lowers the ground under the brush |
| Smooth | Alt+3 | Option+3 | Evens out bumps and sharp edges |
| Flatten | Alt+4 | Option+4 | Evens the ground toward one height |
| Ramp | Alt+5 | Option+5 | Shapes the ground into a slope between two points |
| Paint | Alt+6 | Option+6 | Paints a material onto the ground |
| Blend paint | Alt+7 | Option+7 | Softens the edges between materials (not ready yet) |
| Add region | Alt+8 | Option+8 | Adds a region of ground where the brush is |
| Remove region | Alt+9 | Option+9 | Removes the region under the brush |
A ring appears on the ground: that is the brush. The first time, it starts in the middle of the terrain. Screen reader users might hear a phrase such as:
"Raise tool. Raise brush at 0.0, 0.0, ground height 0.0, slope 0 degrees, size 5.0"
To stop using the tool, press Escape, or choose No tool in the Brush section. Screen reader users might hear "No tool. The arrow keys move the selection again." The terrain stays selected.
Moving the brush
- With the mouse: the ring follows the pointer over the ground. Off the ground, it hides.
- With the keyboard: the arrow keys move the ring across the ground. The directions are relative to the camera: Up moves away from you, Down toward you, and Left and Right sideways. Hold a key to keep moving.
Each time the brush moves by a key, Quorum Studio reports the height of the ground under its middle. Screen reader users might hear a phrase such as "Height 0.0", or "Off the ground" past the terrain's edge. When you let go of the arrow key, the full description follows: the tool, where the brush is, the ground's height and slope, and the brush's size.
Size, strength and falloff
The brush has three settings, shown in the Brush section:
- Size is the brush's radius, in world units. Press Alt+= to make it larger and Alt+- to make it smaller (on Mac, Option+= and Option+-). Screen reader users might hear a phrase such as "Brush size 5.8".
- Strength is how fast the tool works. For Raise and Lower, it is how many units per second the middle of the brush rises or sinks. Press Alt+] for stronger and Alt+[ for weaker (on Mac, Option+] and Option+[). Screen reader users might hear a phrase such as "Brush strength 1.25".
- Falloff is how the effect fades from the middle of the brush to its edge. At 1, it fades smoothly. Above 1, the change stays closer to the middle, which makes sharper peaks. Below 1, it spreads out toward the edge, which makes rounder, wider hills. Falloff has no key; type it in the panel.
You can also type a size or strength in the panel. Press Cmd+P on Mac or Ctrl+P on Windows to move into the panel, and Escape to go back to the scene.
Making a stroke
A stroke is one continuous use of a tool: it starts when you start pressing and ends when you let go. While a stroke goes on, the tool keeps working on the ground under the brush, a little more on every frame, so holding longer makes a bigger change, the way holding a paint spray longer puts on more paint. You can move the brush during a stroke, to draw a ridge, a trench or a path. Everything from pressing to letting go counts as one change: Quorum Studio treats the whole stroke as a single step, and reports it as one result when it ends. A quick tap changes very little; hold for a second or more, or make the brush stronger, for a bigger change.
- With the keyboard: hold Space. Press the arrow keys while holding it to move the brush as you go.
- With the mouse: press the left button on the ground and drag. A click moves the brush to the pointer and starts the stroke there.
When a stroke ends, Quorum Studio reports what changed and the new height under the brush. Screen reader users might hear a phrase such as "Raised by up to 2.4. Height 2.4". If nothing changed, it reports "Nothing changed". If the brush is past the edge of the ground, the stroke doesn't start, and it reports "The brush is off the ground".
Changed your mind during a stroke? Press Escape while still holding Space or the mouse button. The ground goes back to how it was, and Quorum Studio reports "Stroke canceled". Pressing Escape again leaves the tool. Saving the scene saves the shaped ground.
The shaping tools
Raise
Raise pushes the ground up under the brush, highest in the middle and fading toward the edge, so a short stroke makes a small bump and a longer one makes a hill. Moving the brush during the stroke draws a ridge. It is the tool to start with for hills, mountains and walls of earth.
- Choose Raise: press Alt+1 (Option+1 on Mac), or choose Raise in the Brush section's Tool group.
- Move the brush to where the hill should be, with the arrow keys or the mouse pointer.
- Hold Space, or press the left mouse button and drag, until the hill is as high as you want. Let go to end the stroke.
- Screen reader users might hear a phrase such as "Raised by up to 2.4. Height 2.4".
Lower
Lower is the opposite of Raise: it pushes the ground down under the brush, deepest in the middle. Use it for valleys, holes, riverbeds and lakes. The ground can go below 0, so a lake can sit below the flat ground around it.
- Choose Lower: press Alt+2 (Option+2 on Mac), or choose Lower in the Tool group.
- Move the brush to where the dip should be.
- Hold Space, or press the left mouse button and drag. Let go to end the stroke.
- Screen reader users might hear a phrase such as "Lowered by up to 1.8. Height -1.8".
Smooth
Smooth evens out the ground under the brush by pulling each point toward the heights around it. Sharp peaks get rounder, steep edges get gentler, and small bumps disappear, without moving the ground much overall. Use it after Raise and Lower to make the land look natural.
- Choose Smooth: press Alt+3 (Option+3 on Mac), or choose Smooth in the Tool group.
- Move the brush over the rough or sharp area.
- Hold Space, or press the left mouse button and drag over the area. Let go to end the stroke.
- Screen reader users might hear a phrase such as "Smoothed, changing heights by up to 0.6. Height 1.9".
Flatten
Flatten evens the ground toward one height, making a level place, such as the top of a plateau, a building site or a sports field. Ground higher than that height is pulled down, and ground lower is pulled up. In the Brush section, Flatten to chooses which height:
- This height, the number in the Height field. It starts at 0. Press Alt+M (Option+M on Mac), or use the Use the height under the brush button, to set it to the ground's height where the brush is now.
- The height where each stroke starts, so each stroke levels the ground to wherever it began.
- Choose Flatten: press Alt+4 (Option+4 on Mac), or choose Flatten in the Tool group.
- Choose the height to flatten to. For example, move the brush onto a hilltop and press Alt+M. Screen reader users might hear a phrase such as "Flatten to height 2.4".
- Move the brush to the area to level.
- Hold Space, or press the left mouse button and drag over the area. Let go to end the stroke.
- Screen reader users might hear a phrase such as "Flattened, changing heights by up to 1.2. Height 2.4".
Ramp
Ramp shapes the ground into a straight slope between two points you choose, its start and its end. Each point keeps the ground's height where you set it, so a ramp from a valley floor to a hilltop climbs evenly from one to the other. Painting with the Ramp tool pulls the ground under the brush toward that slope. Use it for paths, roads and ramps that a player or a car can climb. The Brush section shows the ramp's two ends, and has Set ramp start, Set ramp end and New ramp buttons.
- Choose Ramp: press Alt+5 (Option+5 on Mac), or choose Ramp in the Tool group.
- Move the brush to where the ramp starts, and press Alt+G (Option+G on Mac), or click there with the mouse. Screen reader users might hear a phrase such as "Ramp start at -10.0, 0.0, height 0.0. Now set its end."
- Move the brush to where the ramp ends, and press Alt+G again, or click there. Screen reader users might hear a phrase such as "Ramp end at 10.0, 0.0, height 4.0. The ramp is ready: from -10.0, 0.0 at height 0.0, to 10.0, 0.0 at height 4.0".
- Move the brush along the line between the two ends, and hold Space, or press the left mouse button and drag, to shape the ground into the ramp. Let go to end the stroke.
- Screen reader users might hear a phrase such as "Shaped the ramp, changing heights by up to 1.5. Height 2.0".
- To make another ramp, use New ramp in the Brush section, then set two new ends.
If you try to shape the ramp before setting both ends, Quorum Studio reports "Set the ramp first: click where it starts, then where it ends, or press Alt+G at each end."
Other tools
The Tool group has four more tools, covered in other tutorials:
- Paint (Alt+6, Option+6 on Mac) paints a material onto the ground. See Terrain Materials and Painting.
- Blend paint (Alt+7, Option+7 on Mac) will soften the edges between painted materials. It isn't ready yet: choosing it and starting a stroke reports "Blend paint strokes aren't ready yet. The other tools are."
- Add region (Alt+8, Option+8 on Mac) adds a new square of flat ground where the brush is, so the world can grow beyond its edges.
- Remove region (Alt+9, Option+9 on Mac) removes the region under the brush.
The two region tools work like the others: move the brush and hold Space, or click. Generating Terrain explains regions in more detail.
The keys
| Action | Windows | Mac |
|---|---|---|
| Choose a tool | Alt+1 to Alt+9 | Option+1 to Option+9 |
| Leave the tool | Escape | Escape |
| Move the brush | Arrow keys | Arrow keys |
| Make a stroke (hold) | Space | Space |
| Cancel a stroke (while holding) | Escape | Escape |
| Larger brush | Alt+= | Option+= |
| Smaller brush | Alt+- | Option+- |
| Stronger brush | Alt+] | Option+] |
| Weaker brush | Alt+[ | Option+[ |
| Flatten to the height under the brush | Alt+M | Option+M |
| Set the ramp's next end | Alt+G | Option+G |
| Move into the Properties panel | Ctrl+P | Cmd+P |
| Leave the Properties panel | Escape | Escape |
Every one of these keys can be changed in Quorum Studio's key map, like the other scene editor keys.
Engage
In this activity, one partner shapes a terrain and the other explores it without looking at the screen. The goal is to practice shaping terrain with the tools, and to experience how Quorum Studio describes the ground in words. Each of you adds a terrain to your own scene. While Partner B looks away, Partner A shapes three features somewhere on the terrain: a hill with a flattened top, made with Raise and then Flatten; a valley, made with Lower and then Smooth; and a ramp leading up the side of the hill. Save the scene. Then Partner B finds the three features without looking: with a screen reader on, or with the screen covered while Partner A reads out what Quorum Studio reports. Choose a tool so the brush appears, then move it with the arrow keys, listening to the height after each step and the full description when you let go. Partner B then says roughly where each feature is, how high or deep it is, and how steep, and Partner A checks. Swap roles.
Then give each other feedback on the reports. Which messages helped most? What was missing, or said too often? If you could change one thing about how Quorum Studio describes the ground, what would it be, and why? Write your suggestion down as you would for a bug report or feature request.
Wrap up
A brush changes the heights you met in Terrain in a Scene, one stroke at a time: raising, lowering, smoothing, flattening and ramping. Quorum Studio describes the ground in words as well as pictures, which is what lets someone shape and explore a world without seeing it. Think about a game you know: how does it tell a player about the shape of the land? In the next tutorial, Generating Terrain, you will make whole landscapes at once by following rules instead of by hand.