Book Image

Building Levels in Unity

By : Volodymyr Gerasimov
Book Image

Building Levels in Unity

By: Volodymyr Gerasimov

Overview of this book

Table of Contents (17 chapters)
Building Levels in Unity
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Dealing with Basic Animations
Index

The terrain texture


Now that we have a terrain sculpted and models placed, it's time to add some textures with the Paint Texture tool.

Importing textures

For this example, we will use the textures available in the Chapter 3 | Terrain Textures folder in the Project window. In addition, you can also import some of Unity's built-in packages for greater texture variety.

  1. Go to Assets | Import Package | Environment.

  2. Click on Import.

This will import some textures for the terrain and tree models that we will use in the future.

Unity supports multilayered texturing for terrain. It's very intuitive and natural to grasp: imagine multiple textures being stacked on top of each other and all of them share an opacity parameter in a certain area, which allows you to manually increase the opacity of certain textures, and at the same time, lower the opacity of others. This is not exactly how it works under the hood; however, this is what you will experience when working with terrain textures in Unity.

To add textures...