Game Development Reference
In-Depth Information
Figure 2-38.
The terrain with textures painted
In earlier versions of Unity, once the scene was saved, the terrain's
splat map
would be visible in
the Project view. A splat map is how Unity tracks where the textures were painted on the terrain. An
RGBA texture has 4 colors available: red, green, blue, and white (Figure
2-39
). The first three textures
are recorded using the red, green, and blue colors. The fourth color is stored in the alpha channel as
white, where black is used as a mask.
Figure 2-39.
A splat map in the Inspector from an earlier version of Unity
To get a better idea of how the last “color” looks, you would have to toggle the alpha channel to see
the white (Figure
2-40
).