Summary
Certainly, as you become more of an expert in AR, you realize how important lighting is to augmented reality. It's so important that Google developed ARCore with light estimation built in, which is why we spent this entire chapter on the subject. First, we learned about the rendering process in a bit more depth; then, we covered 3D lighting, an essential bit of knowledge that we will need in order to understand the added complexity of lighting in AR. This led us to look at the way ARCore estimates the light levels or global light in an area by taking a closer look at Unity Cg/HLSL shaders and, more specifically, surface shaders. Finally, we implemented a simple but effective hack to track and estimate light direct in a scene, which ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access