6

Cameras, Rendering, and Lighting

You can’t avoid using cameras in Unity scenes, unless you’re only making an interface in screen-space overlay mode. Otherwise, you’ll need at least one camera to make anything visible to the player. If you don’t, you’ll simply get a blank screen. Furthermore, the use of cameras implies an internal rendering process that converts objects in the scene into pixels on-screen, and this entails lighting calculations too—so cameras, rendering, and lighting are important and interconnected processes for your game. This chapter takes an in-depth look at some helpful and efficient ways of working with these three processes. We’ll see how to control multiple cameras and rendering composites, how to configure 2D orthographic ...

Get How to Cheat in Unity 5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.