- Unity 2018 Shaders and Effects Cookbook
- John P. Doran Alan Zucconi
- 160字
- 2021-06-18 19:04:20
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.
- Advanced Splunk
- 程序員面試筆試寶典(第3版)
- Getting Started with ResearchKit
- Java Web基礎與實例教程
- 深度強化學習算法與實踐:基于PyTorch的實現
- Android 應用案例開發大全(第3版)
- 零基礎學Python數據分析(升級版)
- TMS320LF240x芯片原理、設計及應用
- Mastering AWS Security
- Cocos2d-x by Example:Beginner's Guide(Second Edition)
- Python語言科研繪圖與學術圖表繪制從入門到精通
- 游戲設計的底層邏輯
- HTML5 WebSocket權威指南
- Parallel Programming with Python
- 絕密原型檔案:看看專業產品經理的原型是什么樣