官术网_书友最值得收藏!

Getting ready

To begin this recipe, first create a new scene by selecting File | New Scene. Then, create a sphere game object by going to GameObject | 3D Objects | Sphere. Double-click on the object in the Hierarchy tab to bring the object into focus in the Scene tab. You will also need to create a new standard Surface Shader file (NormalShader) and material (NormalShaderMat). Once created, set the material to a sphere in the Scene view. This will give us a clean workspace in which we can look at just the normal mapping technique:

You will need a normal map for this recipe, but there is also one in the Unity project included with this book.

An example normal map included with this book's content is shown here:

You can see it for yourself in the Assets |  Chapter 03 Textures folder under normalMapExample.

主站蜘蛛池模板: 改则县| 兰西县| 海城市| 重庆市| 邯郸县| 出国| 塔河县| 呼伦贝尔市| 马公市| 白玉县| 潜江市| 平山县| 灵台县| 宜良县| 万载县| 木里| 无为县| 双流县| 宣化县| 丹棱县| 和顺县| 康定县| 长治县| 西乌珠穆沁旗| 伊吾县| 上栗县| 延吉市| 巴东县| 郁南县| 隆安县| 类乌齐县| 平乡县| 和龙市| 分宜县| 南靖县| 赤壁市| 海丰县| 修文县| 沅陵县| 西昌市| 米易县|