O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

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

Normal mapping with Prefab

Prefab allows you to generate normal maps visually with a built-in Normal Map generator interface in no time and then assign them immediately to your model. (For more explanation on normal maps, read in Chapter 1, Working with Away3D Materials, the following recipe Generating normal maps using Away3D NormalMapGenerator). Let's see how to do it.

Getting ready

Repeat the Getting ready steps from the previous recipe.

How to do it…

  1. Open Prefab.
  2. Open the folder containing the file barrel_empty_low.3ds. Drag-and-drop the model into the Prefab viewport.
  3. Now assign a texture to our model. In Prefab in the sidebar, click the Load and set external map button located at the bottom to the right. In the file explorer dialog that opened, ...

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