Using WebVR with Microsoft Edge
To check which version of Microsoft Edge you currently have installed:
- Open Microsoft Edge.
- In the top-right corner of the browser, select … to open the menu.
- Select Settings.
- Scroll down to find your version number under the About this app heading.
Updates to Edge are automatically installed when Windows 10 is updated. To keep Edge up to date, you need to keep Windows 10 up to date. To see which version of Windows 10 your device is currently running, select the Start button, then Settings > System > About.
To get Microsoft Edge build 15002+, you must be running the Windows 10 Creators Update or later. Go to the Microsoft software download website, and select Update now to install the latest version of Windows 10. While technically support for WebVR was added to Edge in the Creators Update, we highly recommend that you run at least the Fall Creators Update, as there were many bug fixes and important changes added.
The WebVR API surface area is present at all times within Microsoft Edge. However, a call to getVRDisplays will only return a headset if the operating system has been placed in Developer Mode, and either a headset is plugged in or the simulator has been turned on.
What's new in the Windows 10 April 2018 Update
Additionally, you can now run WebVR inside WebView controls in Windows 10 apps. See WebVR in WebView for more information.
You can do a lot with WebVR on Microsoft Edge
- Create 3D virtual objects.
- Create immersive 3D virtual worlds.
- Display 360º panoramic images.
- Engage users with 3D interfaces and game controllers.
- Play Babylon.js 3D games right in your browser.
Setting up your Mixed Reality headset
If you have a Windows Mixed Reality headset, follow the Immersive headset setup guide to get started. If you do not have a physical device, you can instead use the Windows Mixed Reality simulator to develop and test your WebVR experience.
- Ensure you have a 64-bit version of Windows 10—Check your compatibility
- Ensure your Windows 10 installation is up-to-date
- How to launch the Mixed Reality Portal
- Connect your Headset or turn on Simulation
- Where can I buy a Windows Mixed Reality headset? + other FAQs
- How to set up Motion Controllers, Room Boundary, Speech
Running WebVR on your Mixed Reality headset
To experience WebVR content on a Windows Mixed Reality headset (using hardware or simulation) you must, with your headset connected:
- Launch Microsoft Edge either on the desktop, or within Mixed Reality.
- Navigate to a WebVR-enabled page.
- Click the Enter VR button within the page (the location and visual representation of this button may vary per website).
- The first time you try to enter VR on a specific domain, the browser will ask for consent to use immersive view. Click Yes.
- Your headset will begin presenting.
*Press the Windows button or escape key to exit the immersive view.
Test WebVR support with your headset
The code samples below enable you to test support for your VR headset with Microsoft Edge. Just click the headset icon to enter WebVR mode.
Rendering and animating a simple shape using Babylon.js:
Rendering and animating shapes using A-Frame:
Viewing a 360-degree photograph using A-frame:
Add WebVR support to your 3D Babylon.js game in the Microsoft Edge browser
If you've created a 3D game with Babylon.js and thought that it might look great in easily-accessible virtual reality on the web, follow the steps in this tutorial to add WebVR support to your Babylon.js game.
Send feedback about: