From the course: AR Development Techniques 02: Lighting and Physics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

ARSession and ARSessionOrigin

ARSession and ARSessionOrigin

From the course: AR Development Techniques 02: Lighting and Physics

Start my 1-month free trial

ARSession and ARSessionOrigin

- [Instructor] Let's create a new Unity project and set up an AR scene. Make sure it's 3D. I'll name this, AR project two, create. Right now, the auto-generate lightning is off. Let's turn it on. Go to window, rendering, lightning setting, origin rate. Let's download the AR packages, go to window, package manager, wait for it to load the packages. We want the ARFoundation, AR core and AR git plugin. Install ARFoundation, then install the AR core XR plugin, and AR git. To start creating the AR experiences, we need to instantiate two objects in the hierarchy. Right click, XR, we need AR session origin and AR session. We have discussed about these two objects in the course AR Development Techniques, Part One, Basic Concepts. But let's do a quick recap. The AR session controls the life cycle of an AR experience enabling or disabling AR on the target platform. So basically we need AR session to make our scene into an AR…

Contents