- 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.
- Spring Boot 2實(shí)戰(zhàn)之旅
- Learn ECMAScript(Second Edition)
- C程序設(shè)計(jì)簡明教程(第二版)
- GraphQL學(xué)習(xí)指南
- Web交互界面設(shè)計(jì)與制作(微課版)
- 我的第一本算法書
- Learning Linux Binary Analysis
- YARN Essentials
- 鋒利的SQL(第2版)
- PhpStorm Cookbook
- 大模型RAG實(shí)戰(zhàn):RAG原理、應(yīng)用與系統(tǒng)構(gòu)建
- Python編程:從入門到實(shí)踐
- HTML5+CSS3 Web前端開發(fā)技術(shù)(第2版)
- 基于ARM Cortex-M4F內(nèi)核的MSP432 MCU開發(fā)實(shí)踐
- 機(jī)器學(xué)習(xí)微積分一本通(Python版)