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

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.

主站蜘蛛池模板: 红安县| 福泉市| 连南| 合水县| 韩城市| 海口市| 东源县| 长乐市| 定南县| 孟连| 平乐县| 鹤壁市| 巴林右旗| 台南县| 陈巴尔虎旗| 翼城县| 涪陵区| 卓资县| 田东县| 泰和县| 永德县| 宁河县| 辉县市| 华容县| 宜兰市| 长治县| 原平市| 无锡市| 高青县| 孝感市| 临桂县| 洞口县| 资源县| 建瓯市| 石景山区| 农安县| 甘泉县| 南溪县| 吴堡县| 达日县| 巴塘县|