© Wallace Wang 2018
Wallace WangBeginning ARKit for iPhone and iPadhttps://doi.org/10.1007/978-1-4842-4102-8_5

5. Working with Lights

Wallace Wang1 
(1)
San Diego, CA, USA
 

The simplest way to alter the appearance of a virtual object is to change its color or texture. However, a more subtle way to alter the appearance of virtual objects is to change the lighting source. Think of a typical studio that lets a photographer place one or more lights in different positions around a subject. These lights can be bright or dim, and shine at different intensities and colors to highlight an object in different ways.

Augmented reality is no different. To highlight virtual objects in an augmented reality view, you can place one or more light sources at specific ...

Get Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS now with O’Reilly online learning.

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