Closed cvan closed 3 months ago
I could not test it on my Windows machine because display 'block' the launch div. Any suggestion what I am missing?
https://github.com/fernandojsg/the-composer-threejs/blob/master/lib/index.js#L40-67
global.window.onload = function () {
if (getParameterByName('mode') === 'debug') {
settings.debugMode = true;
initApp(false);
} else {
if (navigator.getVRDisplays === undefined) {
window.location.replace('fallback.html');
} else {
document.getElementById('launch').style.display = 'block';
document.getElementById('normalButton').addEventListener('click', function () {
initApp(false);
});
Loading splash screen w/ proper WebVR support in Chromium doesn't seem to work.
Nothing seems to happen, no network requests or console errors/logs/warnings.
I need to provide
?mode=normal
or?mode=spectator
.