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

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.

主站蜘蛛池模板: 荥经县| 桃源县| 通道| 城步| 青浦区| 天台县| 黄陵县| 望奎县| 天峨县| 济南市| 普定县| 长治县| 阳西县| 丹凤县| 当涂县| 乃东县| 绥中县| 长岛县| 独山县| 陵川县| 扬中市| 栖霞市| 日喀则市| 北宁市| 湖州市| 丰城市| 嘉善县| 射阳县| 潼关县| 遂宁市| 望谟县| 全南县| 巴东县| 原阳县| 嵊州市| 基隆市| 威宁| 喀喇沁旗| 苏尼特右旗| 平顺县| 叙永县|