- 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.
- Android Jetpack開發:原理解析與應用實戰
- SOA實踐
- Android Studio Essentials
- Hands-On Data Structures and Algorithms with JavaScript
- Instant Typeahead.js
- VMware vSphere 6.7虛擬化架構實戰指南
- JavaScript+Vue+React全程實例
- Java Web開發技術教程
- 用Flutter極速構建原生應用
- OpenStack Orchestration
- Visual Basic程序設計
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- Web App Testing Using Knockout.JS
- 深入理解BootLoader
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)