Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn ARCore - Fundamentals of Google ARCore

You're reading from   Learn ARCore - Fundamentals of Google ARCore Learn to build augmented reality apps for Android, Unity, and the web with Google ARCore 1.0

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788830409
Length 274 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Micheal Lanham Micheal Lanham
Author Profile Icon Micheal Lanham
Micheal Lanham
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started FREE CHAPTER 2. ARCore on Android 3. ARCore on Unity 4. ARCore on the Web 5. Real-World Motion Tracking 6. Understanding the Environment 7. Light Estimation 8. Recognizing the Environment 9. Blending Light for Architectural Design 10. Mixing in Mixed Reality 11. Performance Tips and Troubleshooting 12. Other Books You May Enjoy

3D lighting


So far, we have looked at the basics of the rendering process and how a 3D model is rendered. What we omitted in the first section, however, is how lighting plays into this. In order to get a sense of the importance of lights in a 3D scene, how about we go ahead and turn out the lights. Open up Unity to where we left off in the first section and follow along:

  1. Select the Directional Light object in the Hierarchy window.
  2. Disable the Light in the Inspector window by unchecking the box beside the object's name. This will turn off or disable the light. You will note that not all the lights go off, however. This is because we have an ambient or global light that is used to account for general light scattering.
  1. You are now left with a dark object with no lights and shadows. Turn back on the Directional Light by clicking on the checkbox. Take a look at the properties of the Light in the Inspector window, as shown:

Directional Light properties in the Inspector window

  1. Play with the Type, Color...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime