generator-vrwebgl
v0.1.2
Published
Template to develop VR in the browser using WebGL
Downloads
4
Readme
HI, I heard you want to do cool VR stuff on the Web using WebGL. You came to the right place. Let's get you started:
- Make sure you have one of the Firefox VR enabled builds installed
- Make sure you have installed yeoman
npm install -g yo
- Install the VR WebGL generator
npm install -g generator-vrwebgl
- Type
yo vrwebgl PROJECT_NAME
to create a hello world VR experience in the PROJECT_NAME folder - Open PROJECT_NAME/index.html in your VR Browser
- If you press 'f' the browser should go fullscreen and the content rendered in stereo mode.
If you don't like yeoman you can also copy the template manually:
- Clone this repo
git clone https://github.com/dmarcos/vrwebgl.git
- Copy the template folder to wherever you want
cp -rf template YOUR_VR_EXPERIENCE_PATH