- Unity 3.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 192字
- 2021-04-02 18:34:06
Keeping yourself in the dark
If you've kept an eye on the Game view, which is what the player sees, you've noticed that the Mesh Game Objects in our Scene are a dark, dreary gray color. Would you believe me if I told you they're actually closer to white?
Just like on a real movie or teevee set, 3D scenes require lights to illuminate objects. The lights aren't actually "real" objects (like our Ball and Paddle meshes) they're virtual objects in 3D space that determine whether the faces on a mesh will appear bright or dark. The computer figures this out for us based on the kind of light we use, the way we position and rotate it, and the settings we give it.
So, while you can move a light around your scene just like the Ball or the Paddle, there's no actual geometry or triangles comprising the light. Lights aren't made of triangles, they're made of data. In Unity, as in many 3D programs, lights are represented in the Scene view by icons (or as Unity calls them—"gizmos"), with lines indicating their direction or their area of influence.
- scikit-learn Cookbook
- LabVIEW 2018 虛擬儀器程序設計
- Modular Programming with Python
- ReSharper Essentials
- Koa開發:入門、進階與實戰
- jQuery炫酷應用實例集錦
- Raspberry Pi Robotic Projects(Third Edition)
- Java 從入門到項目實踐(超值版)
- WildFly Cookbook
- Maven for Eclipse
- Elasticsearch Blueprints
- 3ds Max 2018從入門到精通
- ArcPy and ArcGIS(Second Edition)
- Java面試一戰到底(基礎卷)
- Java Web程序開發參考手冊