UV Texture image

Let's paint the faces of our cube. 3D computer models in Unity are defined by meshes—a set of Vector3 points connected with edges, forming triangular-shaped facets. When building a model in Blender, you can unwrap a mesh into a flattened 2D configuration to define the mapping of texture pixels to the corresponding areas on the mesh surface (UV coordinates). The result is called a UV Texture image.

We will create a UV Texture image for our cube, as follows:

  1. Go into Edit Mode using the Interaction Mode selector in the bottom Header bar.
  2. Select all (press the A key on the keyboard twice) to make sure that all the faces are selected.
  3. In the left Tool Shelf panel, select the Shading/UVs tab.
  4. Under UV Mapping click on Unwrap

Get Unity Virtual Reality Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.