O'Reilly logo

Grome Terrain Modeling with Ogre3D, UDK, and Unity3D by Richard A. Hawley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vertical texture mapping

This is the process by which we combine two texture layers to correctly map a flat texture to vertical surfaces such as mountains and cliff faces. Some 3D engines can have some kind of vertical mapping built into a pixel shader which is very handy when available. However, we can't always rely on this; for our project we can assume the mobile platforms will require baked textures with correctly mapped vertical surfaces. We can create two layers to achieve accurate vertical mapping in the following manner:

  • Create our first material layer for cliffs, we'll name this Mountains 0-90.
  • Assign it a nice Canyon Rock texture (such as the arid2/canyon_rock01.tga texture as provided in the GROME texture library).
  • Create a new mask, default ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required