- Unity 2018 Shaders and Effects Cookbook
- John P. Doran Alan Zucconi
- 113字
- 2021-06-18 19:04:16
Diffuse shading
Before starting our journey into texture mapping, it is important to understand how diffuse materials work. Certain objects might have a uniform color and smooth surface, but are not smooth enough to shine in reflected light. These matte materials are best represented with a Diffuse Shader. While, in the real world pure diffuse materials do not exist, Diffuse Shaders are relatively cheap to implement and are largely applied in games with low-poly aesthetics, so they're worth learning about.
There are several ways in which you can create your own Diffuse Shader. A quick way is to start with Unity's Standard Surface Shader and edit it to remove any additional texture information.
推薦閱讀
- 算法精粹:經典計算機科學問題的Java實現
- Java從入門到精通(第4版)
- Access 2010數據庫基礎與應用項目式教程(第3版)
- Troubleshooting PostgreSQL
- Expert Data Visualization
- 計算機應用基礎教程(Windows 7+Office 2010)
- 計算機應用基礎項目化教程
- Web App Testing Using Knockout.JS
- 現代C:概念剖析和編程實踐
- Python Digital Forensics Cookbook
- Drupal Search Engine Optimization
- Android技術內幕(系統卷)
- Microsoft XNA 4.0 Game Development Cookbook
- 匯編語言程序設計
- OpenCL異構并行計算:原理、機制與優化實踐