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

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.

主站蜘蛛池模板: 县级市| 建平县| 得荣县| 东城区| 启东市| 桃源县| 织金县| 塘沽区| 二手房| 泰安市| 庆阳市| 顺义区| 桂林市| 阜阳市| 靖安县| 东至县| 师宗县| 眉山市| 股票| 马鞍山市| 安塞县| 万载县| 上蔡县| 龙井市| 张掖市| 云南省| 安泽县| 九台市| 宝兴县| 海口市| 西青区| 新闻| 荃湾区| 武川县| 三原县| 大姚县| 延边| 黎平县| 景德镇市| 万年县| 资中县|