/webvr-boilerplate

A starting point for web-based VR experiences that work on all VR headsets.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

WebVR Boilerplate

A THREE.js-based starting point for cross-platform web-based VR experiences.

This project relies heavily on the WebVR Polyfill to provide VR support if the WebVR API is not implemented. It also uses the WebVR UI project to render the UI to enter VR and magic window modes. See here for a live demo.

Getting started

The easiest way to start is to fork or clone this repository. The boilerplate is also available via npm. Easy install:

npm install webvr-boilerplate