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

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.

主站蜘蛛池模板: 杂多县| 太湖县| 宜良县| 莲花县| 东辽县| 平邑县| 凤冈县| 龙川县| 新化县| 稻城县| 龙门县| 巧家县| 巧家县| 壤塘县| 台东市| 斗六市| 合江县| 峡江县| 东至县| 陈巴尔虎旗| 通河县| 湘潭县| 利津县| 玉龙| 天等县| 哈巴河县| 泸州市| 宁阳县| 衡南县| 璧山县| 乌海市| 稷山县| 乐亭县| 天门市| 石棉县| 桃源县| 甘泉县| 临高县| 巴中市| 阿城市| 白沙|