Welcome back! Today I will show you how to use Paint tools to populate color, textures and foliage on your terrain.
There are 2 types of painter: Geometry – Texture Painter and Foliage Painter.
Usually, Geometry-Texture Painter will be automatically created when you add the first terrain into the scene. If not, right click on the Hierarchy window, select 3D Object > Griffin > Tools > Geometry – Texture Painter.
This tool let you paint geometry, color and textures by hand.
In the Inspector window, you can see there are several parameters, where Group Id specifies which terrain group it takes effect on. There are also many paint mode to choose from, including:
- Height Sampling
- and more in future updates.
Under Instruction foldout, you can see a small guide specific to each paint mode.
Under Brush Masks foldout, you can select the shape of your brush.
Under Splat foldout, you can select which texture to apply. This foldout only visible in Splat mode.
Under Brush foldout, you can control your brush properties like radius, rotation and opacity, with randomness control via the jitter parameters.
To paint, hold your left mouse button over the terrain. You can combine with Control or Shift key to do some additional action. This depends on your paint mode.
Some paint mode requires your terrain and material to be configured correctly. For example, to use Splat painter, your terrain must have a Splat Prototype Group assigned and your material must support for splat maps blending. Please see the Manual for more detail.
Similarly, Foliage Painter let you populate trees and grasses, detail objects to the environment. Usually, it will be automatically added into the scene. If not, right click on the Hierarchy window, select 3D Object > Griffin > Tools > Foliage Painter.
To use the Foliage Painter, your terrain must have a Tree Prototype Group and Grass Prototype Group assigned.
Foliage Painter let you add some randomness as well as conditional painting, using its Filters. Under the Filters foldout, click on Add Filters, and select some of them depend on your need. See the Manual to learn more about them.
That would cover the most basic thing of Paint tools. In the next post, we will learn how to extend it using C Sharp script.
See you later!