O'Reilly logo

Mastering Unity 5.x by Alan Thorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Level lighting - preparation

Reaching this far you've now made a complete scene in terms of meshes representing the first level, composed from modular environment pieces (corridor sections). Presently, the level features no lighting, navigation meshes, music or audio, and Occlusion Data; but, we'll add these soon. Let's start with lighting. In Unity, there are three main lighting types or systems, which exist on a spectrum:

  • Baked lighting
  • Real-time lighting
  • Precomputed global illumination

These are discussed in detail further here.

Baked lighting

Baked lighting is the optimal lighting method, but it can only be used under specific circumstances. With Baked lighting, all lighting data (highlights, shadows, and so on) are precalculated and saved to a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required