Search⌘ K
AI Features

Integrating Three.js and AR

Explore how to set up augmented reality scenes with Three.js using WebXR. Understand device compatibility, how to enable AR on your renderer, and use the AR button to enter AR mode. This lesson covers basic AR scene creation and testing with real and simulated devices.

We'll cover the following...

While VR using Three.js is well supported on a large range of devices and browsers, this isn’t the case for Web-AR. On Android, the support is pretty good, but on iOS devices, it doesn’t work that well. Apple is currently working on adding this to Safari, so once that’s in, native AR should also work on iOS. A good way to check which browsers support this functionality is here, which provides an up-to-date overview of all major browser support.

So, to test the native AR example, we either need to view it on an ...