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

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.

主站蜘蛛池模板: 镇原县| 桃园县| 枣强县| 仙居县| 孟津县| 家居| 京山县| 桐柏县| 普宁市| 黎城县| 八宿县| 菏泽市| 凤台县| 修水县| 汝州市| 平陆县| 株洲市| 保山市| 佳木斯市| 博乐市| 玉环县| 田林县| 彰化市| 顺义区| 增城市| 惠水县| 区。| 扎鲁特旗| 淮安市| 嘉荫县| 绩溪县| 逊克县| 山阳县| 沧源| 通渭县| 吴川市| 安庆市| 富裕县| 石狮市| 河东区| 蒙山县|