Switch branches/tags
Nothing to show
Find file History
Latest commit 7ab3e41 Jun 18, 2018
Permalink
..
Failed to load latest commit information.
insecure Updated samples to handle pointerrestricted and context loss events (… Sep 5, 2017
js Add features to test-slow-render, document params Apr 2, 2018
media Add a second video format and play failure reporting Oct 24, 2017
00-hello-webvr.html Updated origin trial token Jun 18, 2018
01-vr-input.html Updated origin trial token Jun 18, 2018
02-stereo-rendering.html Updated origin trial token Jun 18, 2018
03-vr-presentation.html Updated origin trial token Jun 18, 2018
04-simple-mirroring.html Updated origin trial token Jun 18, 2018
04b-simple-mirroring-2.html Updated origin trial token Jun 18, 2018
05-room-scale.html Updated origin trial token Jun 18, 2018
06-vr-audio.html Updated origin trial token Jun 18, 2018
07-advanced-mirroring.html Updated origin trial token Jun 18, 2018
08-dynamic-resolution.html Updated origin trial token Jun 18, 2018
09-splash-screen.html Updated origin trial token Jun 18, 2018
LICENSE.md Moved samples from weber-samples repo to here Nov 8, 2016
README.md Corrected sample link Nov 8, 2016
XX-360-panorama.html Updated origin trial token Jun 18, 2018
XX-360-video.html Updated origin trial token Jun 18, 2018
XX-vr-controllers.html Updated origin trial token Jun 18, 2018
index.html Use "=1" instead of "=true" for booleans. Apr 13, 2018
test-canvas-attributes.html Updated origin trial token Jun 18, 2018
test-slow-render.html Updated origin trial token Jun 18, 2018
test-vr-links.html Updated origin trial token Jun 18, 2018

README.md

WebVR Samples

Simple examples of using the WebVR API.

These examples are intended to demonstrate basic use of the WebVR API without framework support. The code makes use of some simple WebGL utilities (js/wglu) and the glMatrix library to reduce complexity of the WebGL code, but neither are necessary for using WebVR.

You can run these samples live at https://webvr.info/samples/

Experience Prerequisites

These samples use WebGL and matrix math to demonstrate the WebVR API. While most of it is hidden behind libraries and utility functions for brevity, it's assumed that you have at least a conceptual knowledge of both.

Further Reading

Attributions

WebVR image used with the permission of Jaume Sanchez.

"Afterglow of a sunset" image produced by the Masato OHTA and licensed under the Creative Commons Attribution 2.0 Generic license