Applying Normal maps to a material
Normal maps are generally used to simulate complex geometry that would be too expensive, in terms of computer processing, to be actually represented by the 3D polygons during the game's runtime. Oversimplifying, Normal maps fake complex geometry on low-definition 3D meshes. These maps can be generated either by projecting high-definition 3D meshes onto low-poly ones (a technique usually referred to as baking), or, as will be the case for this recipe, from another texture map.
Getting ready
For this recipe, we will prepare two texture maps: the Heightmap and the Normal map. The former will be made from simple shapes in an image editor. The latter will be automatically processed from the Heightmap. Although there ...
Get Unity 5.x Cookbook 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.