Introduction
To begin using Terrain Former, add the Terrain Former component onto a terrain object.
Unity's terrain editor paints on the exact area the mouse is hovering over. This causes these issues:
- The area being painted on is based on where the camera is facing. Meaning that painting in the same area will grow the terrain towards the camera.
- It's necessary to paint from a top-down view to paint over bumps which would otherwise be occluded.
In Terrain Former, painting terrain works differently. Rather than raycasting and using the point on the terrain that was hit (like Unity), it raycasts to an imaginary plane. This means that bumps, hills, and mountains do not affect terrain painting. The height of the virtual plane is determined by the point on the terrain when the mouse is clicked down.
Tools
General Settings
Brush Size
This controls the size of the brush, expressed in Unity's units.
Brush Falloff
This determines the brush's shape. The default shape is designed to appear as a hill. The value—or height of the curve in the curve editor—indicates how much the terrain will be affected in that certain area. The left side of the curve indicates the intensity of the outer area of the brush, while the right side indicates the intensity of the inner area of the brush.
Brush Speed
This determines the painting speed of the brush—how quickly the brush will be applied depending on the tool.
Raise/Lower
This tool raises or lowers terrain contained within the brush circle. Holding LMB raises the terrain, whereas holding Shift+LMB lowers the terrain.
Smooth
As you might expect, this smooths the terrain contained within the brush circle.
Flatten
Flatten
Flattens terrain in the brush area to the height of the terrain the mouse was initially clicked down at. (It doesn't affect terrain lower than the terrain click height.)
Bridge
Flattens all terrain in the brush area to the height of the terrain the mouse was clicked down at. (This affects all terrain—both higher and lower than the terrain click height.)
Extend
Extends out terrain in the brush area to the height of the terrain the mouse was clicked down at. (This only affects terrain that is lower than the terrain click height.)
Set Height
Sets the height of all terrain in the brush area based on the Set Height value.
Interactive Tools
Grab
In Raise/Lower mode, holding Ctrl+LMB or Cmd+LMB on Mac on terrain will use Grab mode. Moving the mouse up will raise the terrain in the brush area, while moving the mouse down will lower the terrain.
Interactive Set Height
To use Interactive Set Height, hold Ctrl+LMB or Cmd+LMB on Mac, and drag up to move the terrain closer to the Set Height value.
Keyboard Shortcuts
Shortcut | Windows | Mac |
---|---|---|
Flatten All Terrain | Shift+G | |
Grab (in Raise/Lower) | Ctrl+LMB | Cmd+LMB |
Interactive Set Height (in Set Height) | Ctrl+LMB | Cmd+LMB |
Settings
Editor Brush Colour
Colour of the brush. (The alpha value is also taken into account.)
Show Brush Grid
If checked, a grid will be visible while painting terrain. This is useful for gauging the height of the virtual plane that is used for determining where the brush is projected.