WebVR Explained and How It Affects You

WebVR Explained and How It Affects You Featured Image

Google Chrome and Mozilla Firefox now both offer out-of-the-box support for WebVR. This open virtual reality standard is designed to enable virtual reality from within a browser. In this article we will explain what WebVR is and how it affects you.

What is WebVR?

webvr-explained-logo

WebVR is an JavaScript application programming interface, or API, designed to allow browsers to communicate with virtual reality devices. Since web browsers are the most widely used applications in the world, this has the potential to dramatically expand the opportunities for virtual reality experiences. By removing the need for special applications, more content producers can distribute virtual reality content at a lower cost.

It works by exposing new interfaces between virtual reality headsets and the web browser. The API can detect VR devices, check device capabilities, poll the device’s position and deliver appropriate frames based on the VR environment.

Do I need a virtual reality headset?

For full immersion, hardware is still required. For a true virtual reality experience, users will still need some kind of virtual reality headset. The standard is compatible with all the current popular virtual reality platforms. This includes HTC Vive, Oculus Rift, Google Daydream, Playstation VR, Samsung Gear VR and Windows Mixed Reality headsets.

webvr-explained-google-cardboard

Users without a dedicated virtual reality headset can use Google Cardboard. Cardboard is essentially a cleverly folded piece of corrugated cardboard (hence the name) that you can strap to the front of your face. The Google Cardboard smartphone app shows a dual-lens image on the smartphone screen. Users then slide their smartphone into this makeshift headset behind the eye holes and strap it to their face with velcro or other straps. It’s not the most comfortable or immersive of the virtual reality experiences available, but it enables broadly accessible virtual reality without a massive hardware investment.

On some sites, however, it will be possible to use WebVR without a headset, but it isn’t really what we think of as true virtual reality. It’s more like an interactive 360-degree panorama. Users can still interact with the virtual reality environment in a limited way. They can navigate through the virtual reality world and look around in 360 degrees, even while using just a flat screen.

How do I use WebVR?

WebVR is currently available on major browsers, but it’s still classed as an early development build. That means it’s unstable and subject to change without notice. To see an updated list of compatible browsers and devices, check out webvr.rocks.

Firefox supports WebVR since version 55 and is available without any modification.

Use in Chrome requires enabling a Chrome flag. You’ll need to enable the following: chrome://flags/#enable-webvr and chrome://flags/#enable-gamepad-extensions.

Paste those URLs into Chrome’s URL bar, then click the “Enable” hyperlink.

webvr-explained-chrome-flag

If you find that performance on Chrome is limited or non-functional, you can download an experimental build of Chromium, which is Google’s open-source version of Chrome.

Once you have WebVR enabled, you’ll need to visit a site that uses the API. a-frame.io and PlayCanvas are great experimental sandboxes to play with.

Conclusion

WebVR is currently in experimental stages, but it shows potential as an open standard for virtual reality environments. When it expands to all browsers, we might start to see more developers taking advantage of its capabilities.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Alexander Fox Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe